diff --git a/autoload/airline/extensions/cursormode.vim b/autoload/airline/extensions/cursormode.vim index 3f3f7f1a..097ddd8b 100644 --- a/autoload/airline/extensions/cursormode.vim +++ b/autoload/airline/extensions/cursormode.vim @@ -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