cursormode: disable by default

fixes #1625
This commit is contained in:
Christian Brabandt 2018-01-05 08:12:35 +01:00
parent 3a2323feac
commit 6cdcaf13b1
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 4 additions and 1 deletions

View File

@ -332,7 +332,7 @@ function! airline#extensions#load()
call add(loaded_ext, 'vimtex') call add(loaded_ext, 'vimtex')
endif endif
if (get(g:, 'airline#extensions#cursormode#enabled', 1)) if (get(g:, 'airline#extensions#cursormode#enabled', 0))
call airline#extensions#cursormode#init(s:ext) call airline#extensions#cursormode#init(s:ext)
call add(loaded_ext, 'cursormode') call add(loaded_ext, 'cursormode')
endif endif

View File

@ -1035,6 +1035,9 @@ cursormode <https://github.com/vheon/vim-cursormode>
Displays cursor in different colors depending on the current mode (only works Displays cursor in different colors depending on the current mode (only works
in terminals iTerm, AppleTerm and xterm) in terminals iTerm, AppleTerm and xterm)
* enable cursormode integration >
let g:airline#extensions#cursormode#enabled = 1
============================================================================== ==============================================================================
ADVANCED CUSTOMIZATION *airline-advanced-customization* ADVANCED CUSTOMIZATION *airline-advanced-customization*