make VimLeave autocmd nested

add "nested" to autocmd to make it play well w/ YouCompleteMe

see 109a019279/README.md (ycm-does-not-shut-down-when-i-quit-vim)
This commit is contained in:
Arjan van der Velde
2019-01-10 23:15:30 -05:00
committed by GitHub
parent 6fd5b6ae56
commit 2d3bbbff43

View File

@@ -111,7 +111,7 @@ endfunction
augroup airline#extensions#cursormode
autocmd!
autocmd VimLeave * call s:set_cursor_color_for(g:cursormode_exit_mode)
autocmd VimLeave * nested call s:set_cursor_color_for(g:cursormode_exit_mode)
" autocmd VimEnter * call airline#extensions#cursormode#activate()
autocmd Colorscheme * call airline#extensions#cursormode#activate()
augroup END