mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] coc in statusline
This commit is contained in:
parent
b70d8de16b
commit
4536b766e7
1 changed files with 3 additions and 1 deletions
|
@ -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('%'))
|
||||||
|
|
Loading…
Reference in a new issue