mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
set nornu when line numbers aren't shown
This commit is contained in:
@@ -2668,6 +2668,7 @@ function! s:initNerdTreeInPlace(dir)
|
|||||||
setlocal nu
|
setlocal nu
|
||||||
else
|
else
|
||||||
setlocal nonu
|
setlocal nonu
|
||||||
|
setlocal nornu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
iabc <buffer>
|
iabc <buffer>
|
||||||
@@ -2904,6 +2905,7 @@ function! s:createTreeWin()
|
|||||||
setlocal nu
|
setlocal nu
|
||||||
else
|
else
|
||||||
setlocal nonu
|
setlocal nonu
|
||||||
|
setlocal nornu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
iabc <buffer>
|
iabc <buffer>
|
||||||
|
|||||||
Reference in New Issue
Block a user