mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 03:43:50 -05:00
add NERDTreeCustomIgnoreFilter hook
this gives users a chance to filter out nodes using whatever logic they please
This commit is contained in:
@@ -1128,6 +1128,7 @@ The latest dev versions are on github
|
|||||||
|
|
||||||
Next
|
Next
|
||||||
- add 'scope' argument to the key map API
|
- add 'scope' argument to the key map API
|
||||||
|
- add NERDTreeCustomIgnoreFilter hook - needs doc
|
||||||
|
|
||||||
4.2.0
|
4.2.0
|
||||||
- Add NERDTreeDirArrows option to make the UI use pretty arrow chars
|
- Add NERDTreeDirArrows option to make the UI use pretty arrow chars
|
||||||
|
|||||||
@@ -2306,6 +2306,10 @@ function! s:Path.ignore()
|
|||||||
return 1
|
return 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if exists("*NERDTreeCustomIgnoreFilter") && NERDTreeCustomIgnoreFilter(self)
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user