From 8d5df71057e7f81133af3217f0fd07737385594b Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Fri, 28 Jun 2019 11:53:06 +0300 Subject: [PATCH] [nvim] get rid of duplicate error/warning counters --- nvim/lib/interface.vim | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nvim/lib/interface.vim b/nvim/lib/interface.vim index c78cf26..34ddd70 100644 --- a/nvim/lib/interface.vim +++ b/nvim/lib/interface.vim @@ -105,7 +105,7 @@ endif let g:airline#extensions#branch#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_warning_sign = 'W:' @@ -140,12 +140,6 @@ endif call s:airline_section_prepend('x', ['coc#status']) endif 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 augroup vimrc-interface-airline autocmd!