mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-25 09:41:03 +08:00
bugfix for stripping :Mark markup from a line
This commit is contained in:
parent
5fd7441dbe
commit
219d16f61a
|
@ -2315,7 +2315,7 @@ function! s:StripMarkupFromLine(line, removeLeadingSpaces)
|
|||
let line = substitute (line, s:tree_RO_str_reg, "","")
|
||||
|
||||
"strip off any mark flags
|
||||
let line = substitute (line, ' {[^}*]}', "","")
|
||||
let line = substitute (line, ' {[^}]*}', "","")
|
||||
|
||||
let wasdir = 0
|
||||
if line =~ '/$'
|
||||
|
|
Loading…
Reference in New Issue
Block a user