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:
parent
6fd5b6ae56
commit
2d3bbbff43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user