mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-20 22:07:10 +08:00
Merge pull request #576 from mike-zueff/read-only_files_opening_fix
Read-only files opening fix
This commit is contained in:
commit
5294593b14
@ -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, ' {[^}]*}', "","")
|
||||
|
Loading…
x
Reference in New Issue
Block a user