mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05:00
Fix vint errors: Use robust operators ==# and !=#
This commit is contained in:
@@ -321,7 +321,7 @@ function! s:TreeFileNode._renderToString(depth, drawText)
|
||||
if a:drawText ==# 1
|
||||
|
||||
let treeParts = repeat(' ', a:depth - 1)
|
||||
if !self.path.isDirectory && g:NERDTreeDirArrowExpandable != ''
|
||||
if !self.path.isDirectory && g:NERDTreeDirArrowExpandable !=# ''
|
||||
let treeParts .= ' '
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user