mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] get rid of duplicate error/warning counters
This commit is contained in:
parent
4cac7ade71
commit
8d5df71057
1 changed files with 1 additions and 7 deletions
|
@ -105,7 +105,7 @@ endif
|
||||||
|
|
||||||
let g:airline#extensions#branch#enabled = 1
|
let g:airline#extensions#branch#enabled = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
let g:airline#extensions#ale#enabled = 1
|
let g:airline#extensions#coc#enabled = 1
|
||||||
|
|
||||||
let g:coc_status_error_sign = 'E:'
|
let g:coc_status_error_sign = 'E:'
|
||||||
let g:coc_status_warning_sign = 'W:'
|
let g:coc_status_warning_sign = 'W:'
|
||||||
|
@ -140,12 +140,6 @@ endif
|
||||||
call s:airline_section_prepend('x', ['coc#status'])
|
call s:airline_section_prepend('x', ['coc#status'])
|
||||||
endif
|
endif
|
||||||
call s:airline_section_append('y', ['filesize'])
|
call s:airline_section_append('y', ['filesize'])
|
||||||
if exists('*airline#extensions#coc#get_error')
|
|
||||||
call s:airline_section_prepend('error', ['coc_error_count'])
|
|
||||||
endif
|
|
||||||
if exists('*airline#extensions#coc#get_warning')
|
|
||||||
call s:airline_section_prepend('warning', ['coc_warning_count'])
|
|
||||||
endif
|
|
||||||
endfunction
|
endfunction
|
||||||
augroup vimrc-interface-airline
|
augroup vimrc-interface-airline
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|
Loading…
Reference in a new issue