mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-25 01:38:34 +08:00
make VimLeave autocmd nested
add "nested" to autocmd to make it play well w/ YouCompleteMe see https://github.com/valloric/youcompleteme/blob/109a0192795a9b7ea87e382cdbeeabcff091473c/README.md#ycm-does-not-shut-down-when-i-quit-vim
This commit is contained in:
committed by
GitHub
parent
6fd5b6ae56
commit
2d3bbbff43
@@ -111,7 +111,7 @@ endfunction
|
|||||||
|
|
||||||
augroup airline#extensions#cursormode
|
augroup airline#extensions#cursormode
|
||||||
autocmd!
|
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 VimEnter * call airline#extensions#cursormode#activate()
|
||||||
autocmd Colorscheme * call airline#extensions#cursormode#activate()
|
autocmd Colorscheme * call airline#extensions#cursormode#activate()
|
||||||
augroup END
|
augroup END
|
||||||
|
|||||||
Reference in New Issue
Block a user