Skip to content

Commit e697444

Browse files
committed
set nornu when line numbers aren't shown
1 parent d595605 commit e697444

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugin/NERD_tree.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2668,6 +2668,7 @@ function! s:initNerdTreeInPlace(dir)
26682668
setlocal nu
26692669
else
26702670
setlocal nonu
2671+
setlocal nornu
26712672
endif
26722673

26732674
iabc <buffer>
@@ -2904,6 +2905,7 @@ function! s:createTreeWin()
29042905
setlocal nu
29052906
else
29062907
setlocal nonu
2908+
setlocal nornu
29072909
endif
29082910

29092911
iabc <buffer>

0 commit comments

Comments
 (0)