Mercurial > vim-gutentags
comparison autoload/gutentags.vim @ 254:52be4cf89810
Don't complain when the job gets killed when Vim exits.
This happens on Neovim, where the jobs seem to get killed before Vim
exits, and so Gutentags has enough time to print a warning.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 26 Oct 2019 00:40:18 -0700 |
parents | e61d20280c6c |
children | 74a71a5499c9 |
comparison
equal
deleted
inserted
replaced
253:ec292bfbd633 | 254:52be4cf89810 |
---|---|
347 endif | 347 endif |
348 endif | 348 endif |
349 endfor | 349 endfor |
350 endfunction | 350 endfunction |
351 | 351 |
352 " Set a variable on exit so that we don't complain when a job gets killed. | |
353 function! gutentags#on_vim_leave_pre() abort | |
354 let g:__gutentags_vim_is_leaving = 1 | |
355 endfunction | |
356 | |
352 " }}} | 357 " }}} |
353 | 358 |
354 " Job Management {{{ | 359 " Job Management {{{ |
355 | 360 |
356 " List of queued-up jobs, and in-progress jobs, per module. | 361 " List of queued-up jobs, and in-progress jobs, per module. |