mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05:00
Use substitute() for backward compatibility. Change conceallevel to 3.
This commit is contained in:
@@ -100,7 +100,7 @@ function! s:TreeDirNode.displayString()
|
||||
let l:cascade = self.getCascade()
|
||||
for l:dirNode in l:cascade
|
||||
let l:next = l:dirNode.path.displayString()
|
||||
let l:label .= l:label == '' ? l:next : strcharpart(l:next,1)
|
||||
let l:label .= l:label == '' ? l:next : substitute(l:next,'^.','','')
|
||||
endfor
|
||||
|
||||
" Select the appropriate open/closed status indicator symbol.
|
||||
|
||||
Reference in New Issue
Block a user