mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Update tagbar when filetype changes
This commit is contained in:
@@ -891,7 +891,7 @@ function! s:CreateAutocommands()
|
||||
\ if line('$') < g:tagbar_updateonsave_maxlines |
|
||||
\ call s:AutoUpdate(fnamemodify(expand('<afile>'), ':p')) |
|
||||
\ endif
|
||||
autocmd BufEnter,CursorHold * call
|
||||
autocmd BufEnter,CursorHold,FileType * call
|
||||
\ s:AutoUpdate(fnamemodify(expand('<afile>'), ':p'))
|
||||
autocmd BufDelete * call
|
||||
\ s:CleanupFileinfo(fnamemodify(expand('<afile>'), ':p'))
|
||||
|
||||
Reference in New Issue
Block a user