Add support for vim-lsp

This commit is contained in:
François-Xavier Carton
2020-02-08 09:40:45 +01:00
parent 099dd92eeb
commit 0860036454
6 changed files with 103 additions and 6 deletions

View File

@@ -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: >