1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-18 12:00:23 +01:00

When switching to a buffer that is unsupported, clear current.

This commit is contained in:
John Szakmeister
2013-01-20 10:54:16 -05:00
parent feebffcd2a
commit 2b1f655063

View File

@@ -3056,6 +3056,7 @@ function! s:AutoUpdate(fname, force) abort
" Don't do anything if the file isn't supported
if !s:IsValidFile(a:fname, sftype)
call s:LogDebugMessage('Not a valid file, stopping processing')
call s:known_files.setCurrent({})
return
endif