mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Fix bug with empty filetype
This commit is contained in:
@@ -2476,7 +2476,7 @@ endfunction
|
||||
function! s:AutoUpdate(fname)
|
||||
" Don't do anything if tagbar is not open or if we're in the tagbar window
|
||||
let tagbarwinnr = bufwinnr('__Tagbar__')
|
||||
if tagbarwinnr == -1 || &filetype == 'tagbar'
|
||||
if tagbarwinnr == -1 || &filetype == 'tagbar' || &filetype == ''
|
||||
return
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user