comparison autoload/gutentags/cscope.vim @ 267:6030953258fe

On Windows, kill ongoing jobs before leaving so we can clean-up temp files
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 12 May 2022 09:20:21 -0700
parents 52be4cf89810
children
comparison
equal deleted inserted replaced
266:1b74fb3819e1 267:6030953258fe
85 elseif !g:__gutentags_vim_is_leaving 85 elseif !g:__gutentags_vim_is_leaving
86 call gutentags#warning( 86 call gutentags#warning(
87 \"cscope job failed, returned: ". 87 \"cscope job failed, returned: ".
88 \string(a:exit_val)) 88 \string(a:exit_val))
89 endif 89 endif
90 if has('win32') && g:__gutentags_vim_is_leaving
91 " The process got interrupted because Vim is quitting.
92 " Remove the db file on Windows because there's no `trap`
93 " statement in the update script.
94 try | call delete(l:dbfile_path) | endtry
95 endif
90 endfunction 96 endfunction
91 97
92 " }}} 98 " }}}
93 99