[nvim] coc in statusline

This commit is contained in:
Dmytro Meleshko 2019-05-09 18:24:34 +03:00
parent b70d8de16b
commit 4536b766e7

View file

@ -105,7 +105,9 @@ endif
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#ale#enabled = 1
call airline#parts#define_function('coc#status', 'coc#status') if exists("*coc#status")
call airline#parts#define_function('coc#status', 'coc#status')
endif
function StatusLine_filesize() function StatusLine_filesize()
let l:bytes = getfsize(expand('%')) let l:bytes = getfsize(expand('%'))