Fixed read-only files opening.

This commit is contained in:
Mike Zueff
2016-04-30 04:08:18 +03:00
parent 35c859179d
commit 5458680265

View File

@@ -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, ' {[^}]*}', "","")