diff --git a/lib/nerdtree/ui.vim b/lib/nerdtree/ui.vim index c683198..c8482d0 100644 --- a/lib/nerdtree/ui.vim +++ b/lib/nerdtree/ui.vim @@ -375,7 +375,7 @@ function! s:UI._stripMarkup(line, removeLeadingSpaces) let line = substitute (line, g:NERDTreeUI.MarkupReg(),"","") "strip off any read only flag - exec 'let line = substitute (line, " \['.g:NERDTreeGlyphReadOnly.'\]", "","")' + exec 'let line = substitute (line, " \\['.g:NERDTreeGlyphReadOnly.'\\]", "","")' "strip off any bookmark flags let line = substitute (line, ' {[^}]*}', "","")