Skip to content

Commit

Permalink
refactor: use of ==# instead of ==.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Feb 5, 2024
1 parent 7fe46a2 commit 3af7755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nerdtree/creator.vim
Expand Up @@ -254,9 +254,9 @@ function! s:Creator._nextBufferName(...)
let type = ''
end
let name = s:Creator.BufNamePrefix()
if type == 'tab'
if type ==# 'tab'
let name = name . 'tab_'
elseif type == 'win'
elseif type ==# 'win'
let name = name . 'win_'
endif
let name = name . self._nextBufferNumber()
Expand Down

0 comments on commit 3af7755

Please sign in to comment.