add .refreshFlags() to path/dir/file objects

This will trigger the path refresh callbacks without refreshing the
path's from disk (which takes ages)
This commit is contained in:
Martin Grenfell
2014-07-07 18:24:37 +01:00
parent 3941389f13
commit 04d9b27541
3 changed files with 20 additions and 0 deletions

View File

@@ -372,6 +372,11 @@ function! s:TreeFileNode.refresh()
call self.path.refresh()
endfunction
"FUNCTION: TreeFileNode.refreshFlags() {{{1
function! s:TreeFileNode.refreshFlags()
call self.path.refreshFlags()
endfunction
"FUNCTION: TreeFileNode.rename() {{{1
"Calls the rename method for this nodes path obj
function! s:TreeFileNode.rename(newName)