mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-27 02:33:35 +08:00
remove unneeded exec
As @mkoskar pointed out at: https://github.com/scrooloose/nerdtree/pull/576#issuecomment-218470556
This commit is contained in:
parent
5294593b14
commit
15445be5fb
|
@ -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.'\\]", "","")'
|
||||
let line = substitute (line, ' \['.g:NERDTreeGlyphReadOnly.'\]', "","")
|
||||
|
||||
"strip off any bookmark flags
|
||||
let line = substitute (line, ' {[^}]*}', "","")
|
||||
|
|
Loading…
Reference in New Issue
Block a user