From 34968bf65ccbfe2c5fb5960348cae6a227b80556 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Sat, 17 Oct 2020 20:05:22 +0530 Subject: [PATCH] Improve the documentation of localsearch extension Fixed the copy-paste error mentioned by @chrisbra at https://github.com/vim-airline/vim-airline/pull/2240#discussion_r494570378 Also improved the wording a bit --- doc/airline.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/airline.txt b/doc/airline.txt index 80cec944..c1c205aa 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -848,9 +848,10 @@ localsearch * enable/disable localsearch indicator integration > let g:airline#extensions#localsearch#enabled = 1 -* show only when localsearch is off (shows 'GS' denoting GlobalSearch) - (this option is set to 0 by default) > - let g:airline#extensions#localsearch#enabled = 1 +* invert the localsearch indicator + if set to 1, the indicator shall only be shown when localsearch is disabled + the text will also change from 'LS' to 'GS' (Global Search) > + let g:airline#extensions#localsearch#inverted = 0 ------------------------------------- *airline-lsp* lsp