1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

Merge pull request #470 from blueyed/add-StopAutoUpdate

Add tagbar#StopAutoUpdate
This commit is contained in:
Caleb Maclennan
2019-10-21 16:14:15 +03:00
committed by GitHub
2 changed files with 19 additions and 2 deletions

View File

@@ -867,8 +867,7 @@ function! s:CloseWindow() abort
call s:ShrinkIfExpanded()
if s:autocommands_done && !s:statusline_in_use
autocmd! TagbarAutoCmds
let s:autocommands_done = 0
call tagbar#StopAutoUpdate()
endif
call tagbar#debug#log('CloseWindow finished')
@@ -3248,6 +3247,11 @@ function! tagbar#RestoreSession() abort
call s:RestoreSession()
endfunction
function! tagbar#StopAutoUpdate() abort
autocmd! TagbarAutoCmds
let s:autocommands_done = 0
endfunction
" }}}2
" tagbar#toggle_pause() {{{2