From 219d16f61aaf1d28a2d6b7b5914953bf7b6a6f0d Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Fri, 6 Jun 2008 23:13:05 +1200 Subject: [PATCH] bugfix for stripping :Mark markup from a line --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index c6b29bd..16e7566 100644 --- 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 =~ '/$'