Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adrien Dorsaz
config
Commits
1efbc87a
Commit
1efbc87a
authored
May 13, 2021
by
Adrien Dorsaz
Browse files
coc update plugins and vim small update of status line
parent
796523ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/coc/extensions/package.json
View file @
1efbc87a
...
...
@@ -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.1
22
"
,
"coc-pyright"
:
">=1.1.1
37
"
,
"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"
}
...
...
vim/vimrc
View file @
1efbc87a
...
...
@@ -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',
\ },
\ }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment