mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05:00
added the NERDTreeShowLineNumbers option into the script
This commit is contained in:
@@ -43,8 +43,9 @@ endif
|
||||
call s:InitVariable("g:NERDTreeHighlightCursorline", 1)
|
||||
call s:InitVariable("g:NERDTreeMouseMode", 1)
|
||||
call s:InitVariable("g:NERDTreeNotificationThreshold", 100)
|
||||
call s:InitVariable("g:NERDTreeShowHidden", 0)
|
||||
call s:InitVariable("g:NERDTreeShowFiles", 1)
|
||||
call s:InitVariable("g:NERDTreeShowHidden", 0)
|
||||
call s:InitVariable("g:NERDTreeShowLineNumbers", 0)
|
||||
call s:InitVariable("g:NERDTreeSortDirs", 1)
|
||||
|
||||
if !exists("g:NERDTreeSortOrder")
|
||||
@@ -1442,7 +1443,12 @@ function! s:CreateTreeWin()
|
||||
setlocal foldcolumn=0
|
||||
setlocal nobuflisted
|
||||
setlocal nospell
|
||||
if g:NERDTreeShowLineNumbers
|
||||
setlocal nu
|
||||
else
|
||||
setlocal nonu
|
||||
endif
|
||||
|
||||
iabc <buffer>
|
||||
|
||||
if g:NERDTreeHighlightCursorline
|
||||
|
||||
Reference in New Issue
Block a user