mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
allow flags to be scoped to a plugin
Add new FlagSet class and init each Path with one. Call Path.flagSet.addFlag(scope, flag) instead of Path.addFlag(flag)
This commit is contained in:
@@ -239,6 +239,7 @@ function! nerdtree#loadClassFiles()
|
||||
runtime lib/nerdtree/opener.vim
|
||||
runtime lib/nerdtree/creator.vim
|
||||
runtime lib/nerdtree/refresh_notifier.vim
|
||||
runtime lib/nerdtree/flag_set.vim
|
||||
endfunction
|
||||
|
||||
" FUNCTION: nerdtree#postSourceActions() {{{2
|
||||
|
||||
Reference in New Issue
Block a user