mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
rework the cascading slightly to correctly show open/closed dir arrows
This commit is contained in:
@@ -337,10 +337,7 @@ function! s:TreeFileNode._renderToString(depth, drawText)
|
||||
|
||||
let treeParts = repeat(' ', a:depth - 1)
|
||||
|
||||
if self.path.isDirectory
|
||||
let sym = self.isOpen ? g:NERDTreeDirArrowCollapsible : g:NERDTreeDirArrowExpandable
|
||||
let treeParts = treeParts . sym . ' '
|
||||
else
|
||||
if !self.path.isDirectory
|
||||
let treeParts = treeParts . ' '
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user