add NERDTreeCustomIgnoreFilter hook

this gives users a chance to filter out nodes using whatever logic they
please
This commit is contained in:
Martin Grenfell
2012-01-04 11:11:12 +00:00
parent 1848a2cf9d
commit 33a64260cd
2 changed files with 5 additions and 0 deletions

View File

@@ -2306,6 +2306,10 @@ function! s:Path.ignore()
return 1
endif
if exists("*NERDTreeCustomIgnoreFilter") && NERDTreeCustomIgnoreFilter(self)
return 1
endif
return 0
endfunction