nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 782e60efc9d6c92b93da7513734cbc7a463ed8d5
parent 7b26dac959c5677a33cbb4c5678a3a4cf8914f43
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Fri,  6 Jun 2008 22:27:01 +1200

display marks on tree

Diffstat:
Mplugin/NERD_tree.vim | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1211,6 +1211,11 @@ function! s:oPath.StrDisplay() dict
         let toReturn .=  ' -> ' . self.symLinkDest
     endif
 
+    let marks = self.MarkNames()
+    if !empty(marks)
+        let toReturn .= ' {' . join(marks, ',') . '}'
+    endif
+
     if self.isReadOnly
         let toReturn .=  s:tree_RO_str
     endif
@@ -2763,6 +2768,7 @@ function! s:MarkNode(name)
     if currentNode != {}
         let marks = s:GetMarks()
         let marks[a:name] = currentNode.path
+        call s:RenderView()
     else
         call s:Echo("select a node first")
     endif