Add more customization for 'localsearch' extension

Now it can be configured to show only when localsearch is disabled. It
is useful if you mostly keep localsearch enabled and don't want to keep
seeing the extra 'LS' section, but still want to have some kind of a
visual indication about when localsearch is disabled.
This commit is contained in:
Subhaditya Nath
2020-09-19 20:08:28 +05:30
parent 3740312de0
commit 3fc5ad231c
2 changed files with 10 additions and 1 deletions

View File

@@ -847,6 +847,10 @@ localsearch <https://github.com/mox-mox/vim-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
------------------------------------- *airline-lsp*
lsp <https://github.com/prabirshrestha/vim-lsp>