From 6cdcaf13b1bd368743dbd37b9adf7777780817a6 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 5 Jan 2018 08:12:35 +0100 Subject: [PATCH] cursormode: disable by default fixes #1625 --- autoload/airline/extensions.vim | 2 +- doc/airline.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index 8c3b781..0cc4cfe 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -332,7 +332,7 @@ function! airline#extensions#load() call add(loaded_ext, 'vimtex') 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 add(loaded_ext, 'cursormode') endif diff --git a/doc/airline.txt b/doc/airline.txt index 72d0b27..897cd97 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -1035,6 +1035,9 @@ cursormode Displays cursor in different colors depending on the current mode (only works in terminals iTerm, AppleTerm and xterm) +* enable cursormode integration > + let g:airline#extensions#cursormode#enabled = 1 + ============================================================================== ADVANCED CUSTOMIZATION *airline-advanced-customization*