nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 219d16f61aaf1d28a2d6b7b5914953bf7b6a6f0d
parent 5fd7441dbefa825797c7460c70b723b73c612fb0
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Fri,  6 Jun 2008 23:13:05 +1200

bugfix for stripping :Mark markup from a line

Diffstat:
Mplugin/NERD_tree.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -2315,7 +2315,7 @@ function! s:StripMarkupFromLine(line, removeLeadingSpaces)
     let line = substitute (line, s:tree_RO_str_reg, "","")
 
     "strip off any mark flags
-    let line = substitute (line, ' {[^}*]}', "","")
+    let line = substitute (line, ' {[^}]*}', "","")
 
     let wasdir = 0
     if line =~ '/$'