searchcount: add configuration

- Allow disabling displaying the search term.
- Allow setting the length for truncating the search term.

- Fix inconsistent status format for timed out:
  No space between search term and counts.
This commit is contained in:
Simon Truscott
2022-12-29 23:40:02 +11:00
parent 9e2d021fc6
commit e9c09a2e66
2 changed files with 14 additions and 2 deletions

View File

@@ -1072,6 +1072,12 @@ highlighting (e.g. using |:nohls|), it this will be disabled.
* enable/disable searchcount integration >
let g:airline#extensions#searchcount#enabled = 1
* enable/disable displaying search term >
let g:airline#extensions#searchcount#show_search_term = 1
* truncate long search terms to a fixed length >
let g:airline#extensions#searchcount#search_term_limit = 8
<
------------------------------------- *airline-syntastic*
syntastic <https://github.com/vim-syntastic/syntastic>