Commit 1efbc87a authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

coc update plugins and vim small update of status line

parent 796523ad
......@@ -4,14 +4,14 @@
"coc-css": ">=1.2.6",
"coc-docker": ">=0.4.0",
"coc-eslint": ">=1.3.2",
"coc-git": ">=2.3.1",
"coc-git": ">=2.3.2",
"coc-html": ">=1.3.1",
"coc-jest": ">=1.1.3",
"coc-jest": ">=1.1.4",
"coc-json": ">=1.3.4",
"coc-pyright": ">=1.1.122",
"coc-pyright": ">=1.1.137",
"coc-solargraph": ">=1.1.8",
"coc-sql": ">=0.5.0",
"coc-tsserver": ">=1.6.8",
"coc-tsserver": ">=1.7.0",
"coc-xml": ">=1.14.1",
"coc-yaml": ">=1.3.1"
}
......
......@@ -94,7 +94,7 @@ endfunction
function! LightlineFileName()
let filename = expand('%:t') !=# '' ? expand('%:t') : '[New]'
let modified = &modified ? '*': ''
let branch = winwidth(0) > 150 ? '' . expand(FugitiveHead(10)) . ' ': ''
let branch = winwidth(0) > 150 ? ' ' . expand(FugitiveHead(10)) . ' ': ''
return branch . bufnr() . '>' . filename . modified
endfunction
......@@ -121,7 +121,7 @@ let g:lightline = {
\ [ 'readonly', 'filename' ] ],
\ 'right': [ [ 'lineinfo' ],
\ [ 'percent' ],
\ [ 'fileformat', 'fileencoding', 'filetype', 'fugitive' ] ],
\ [ 'fileformat', 'fileencoding', 'filetype' ] ],
\ },
\ 'component_function': {
\ 'currentfunction': 'CocCurrentFunction',
......@@ -129,7 +129,6 @@ let g:lightline = {
\ 'fileformat': 'LightlineFileformat',
\ 'filetype': 'LightlineFiletype',
\ 'fileencoding': 'LightlineFileEncoding',
\ 'fugitive': 'LightlineFugitive',
\ },
\ }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment