Fix vint errors: Use robust operators ==# and !=#

This commit is contained in:
Phil Runninger
2020-02-03 02:28:53 -05:00
parent 961c3571c4
commit 6d3743549c
3 changed files with 3 additions and 3 deletions

View File

@@ -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