nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 5458680265083095b54b296f2decc58c85f92591
parent 35c859179da4ad4f96eb8255e428904436a0b4b4
Author: Mike Zueff <mike.zueff@gmail.com>
Date:   Sat, 30 Apr 2016 04:08:18 +0300

Fixed read-only files opening.

Diffstat:
Mlib/nerdtree/ui.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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, ' {[^}]*}', "","")