mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
Add support for vim-lsp
This commit is contained in:
@@ -785,6 +785,27 @@ localsearch <https://github.com/mox-mox/localsearch>
|
||||
* enable/disable localsearch indicator integration >
|
||||
let g:airline#extensions#localsearch#enabled = 1
|
||||
|
||||
------------------------------------- *airline-lsp*
|
||||
lsp <https://github.com/prabirshrestha/vim-lsp>
|
||||
|
||||
* enable/disable lsp integration >
|
||||
let g:airline#extensions#lsp#enabled = 1
|
||||
|
||||
* lsp error_symbol >
|
||||
let airline#extensions#lsp#error_symbol = 'E:'
|
||||
<
|
||||
* lsp warning >
|
||||
let airline#extensions#lsp#warning_symbol = 'W:'
|
||||
|
||||
* lsp show_line_numbers >
|
||||
let airline#extensions#lsp#show_line_numbers = 1
|
||||
<
|
||||
* lsp open_lnum_symbol >
|
||||
let airline#extensions#lsp#open_lnum_symbol = '(L'
|
||||
<
|
||||
* lsp close_lnum_symbol >
|
||||
let airline#extensions#lsp#close_lnum_symbol = ')'
|
||||
|
||||
------------------------------------- *airline-neomake*
|
||||
neomake <https://github.com/neomake/neomake>
|
||||
|
||||
@@ -1551,10 +1572,10 @@ The following list of parts are predefined by vim-airline.
|
||||
And the following are defined for their respective extensions:
|
||||
|
||||
`ale_error_count` `ale_warning_count` `branch` `eclim` `hunks`
|
||||
`languageclient_error_count` `languageclient_warning_count`
|
||||
`neomake_error_count` `neomake_warning_count` `obsession` `syntastic-warn`
|
||||
`syntastic-err` `tagbar` `whitespace` `windowswap` `ycm_error_count`
|
||||
`ycm_warning_count`
|
||||
`languageclient_error_count` `languageclient_warning_count` `lsp_error_count`
|
||||
`lsp_warning_count` `neomake_error_count` `neomake_warning_count` `obsession`
|
||||
`syntastic-warn` `syntastic-err` `tagbar` `whitespace` `windowswap`
|
||||
`ycm_error_count` `ycm_warning_count`
|
||||
|
||||
------------------------------------- *airline-accents*
|
||||
Accents can be defined on any part, like so: >
|
||||
|
||||
Reference in New Issue
Block a user