branch: skip for non-empty &buftype buffers
This commit is contained in:
parent
ffd8c406ab
commit
a8b0c5f760
|
@ -175,7 +175,7 @@ endfunction
|
|||
|
||||
function! s:update_untracked()
|
||||
let file = expand("%:p")
|
||||
if empty(file) || isdirectory(file)
|
||||
if empty(file) || isdirectory(file) || !empty(&buftype)
|
||||
return
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue