add proof of concept for path flags API and add git modified flags

This commit is contained in:
Martin Grenfell
2014-07-05 00:29:45 +01:00
parent d162c08fd7
commit a7428eba38
6 changed files with 124 additions and 5 deletions

View File

@@ -252,6 +252,7 @@ function! s:TreeDirNode._initChildren(silent)
try
let path = g:NERDTreePath.New(i)
call self.createChild(path, 0)
call g:NERDTreeRefreshNotifier.NotifyListeners(path)
catch /^NERDTree.\(InvalidArguments\|InvalidFiletype\)Error/
let invalidFilesFound += 1
endtry