mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-12 13:23:49 -05:00
rename NERDTreeWildIgnore option and refactor the usage of it
Rename it to the more intention revealing NERDTreeRespectWildIgnore. Use it directly in the `globpath()` call rather than surrounding if statement. Its subjective, but I find this clearer. Add an initializer for the option.
This commit is contained in:
@@ -62,6 +62,7 @@ call s:initVariable("g:NERDTreeHijackNetrw", 1)
|
||||
call s:initVariable("g:NERDTreeMouseMode", 1)
|
||||
call s:initVariable("g:NERDTreeNotificationThreshold", 100)
|
||||
call s:initVariable("g:NERDTreeQuitOnOpen", 0)
|
||||
call s:initVariable("g:NERDTreeRespectWildIgnore", 0)
|
||||
call s:initVariable("g:NERDTreeShowBookmarks", 0)
|
||||
call s:initVariable("g:NERDTreeShowFiles", 1)
|
||||
call s:initVariable("g:NERDTreeShowHidden", 0)
|
||||
|
||||
Reference in New Issue
Block a user