mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] fix plugins after update
This commit is contained in:
parent
96df378bb0
commit
280606b2b0
2 changed files with 17 additions and 2 deletions
|
@ -102,6 +102,8 @@
|
||||||
call s:hi('CocWarningSign', 'bg', 0xA, '', '')
|
call s:hi('CocWarningSign', 'bg', 0xA, '', '')
|
||||||
call s:hi('CocInfoSign', 'bg', 0xD, '', '')
|
call s:hi('CocInfoSign', 'bg', 0xD, '', '')
|
||||||
hi! link CocHintSign CocInfoSign
|
hi! link CocHintSign CocInfoSign
|
||||||
|
call s:hi('CocFadeOut', 0x3, '', '', '')
|
||||||
|
hi! link CocMarkdownLink Underlined
|
||||||
|
|
||||||
call s:hi('FoldColumn', 0xC, 0x1, '', '')
|
call s:hi('FoldColumn', 0xC, 0x1, '', '')
|
||||||
call s:hi('Folded', 0x3, 0x1, '', '')
|
call s:hi('Folded', 0x3, 0x1, '', '')
|
||||||
|
|
|
@ -93,6 +93,7 @@ endif
|
||||||
let g:airline_symbols = {
|
let g:airline_symbols = {
|
||||||
\ 'readonly': 'RO',
|
\ 'readonly': 'RO',
|
||||||
\ 'whitespace': "\u21e5 ",
|
\ 'whitespace': "\u21e5 ",
|
||||||
|
\ 'colnr': '',
|
||||||
\ 'linenr': '',
|
\ 'linenr': '',
|
||||||
\ 'maxlinenr': ' ',
|
\ 'maxlinenr': ' ',
|
||||||
\ 'branch': '',
|
\ 'branch': '',
|
||||||
|
@ -103,6 +104,7 @@ endif
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
let g:airline#extensions#coc#enabled = 1
|
let g:airline#extensions#coc#enabled = 1
|
||||||
let g:airline#extensions#po#enabled = 0
|
let g:airline#extensions#po#enabled = 0
|
||||||
|
let g:airline#extensions#scrollbar#enabled = 0
|
||||||
|
|
||||||
let g:airline#extensions#tabline#left_sep = ' '
|
let g:airline#extensions#tabline#left_sep = ' '
|
||||||
let g:airline#extensions#tabline#left_alt_sep = ''
|
let g:airline#extensions#tabline#left_alt_sep = ''
|
||||||
|
@ -125,6 +127,17 @@ endif
|
||||||
endfunction
|
endfunction
|
||||||
call airline#parts#define('filesize', { 'function': 'StatusLine_filesize' })
|
call airline#parts#define('filesize', { 'function': 'StatusLine_filesize' })
|
||||||
|
|
||||||
|
" Undo this commit a little bit:
|
||||||
|
" <https://github.com/vim-airline/vim-airline/commit/8929bc72a13d358bb8369443386ac3cc4796ca16>
|
||||||
|
call airline#parts#define('maxlinenr', {
|
||||||
|
\ 'raw': '/%L%{g:airline_symbols.maxlinenr}',
|
||||||
|
\ 'accent': 'bold',
|
||||||
|
\ })
|
||||||
|
call airline#parts#define('colnr', {
|
||||||
|
\ 'raw': '%{g:airline_symbols.colnr}:%v',
|
||||||
|
\ 'accent': 'none',
|
||||||
|
\ })
|
||||||
|
|
||||||
function s:airline_section_prepend(section, items)
|
function s:airline_section_prepend(section, items)
|
||||||
let g:airline_section_{a:section} = airline#section#create_right(a:items + ['']) . g:airline_section_{a:section}
|
let g:airline_section_{a:section} = airline#section#create_right(a:items + ['']) . g:airline_section_{a:section}
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in a new issue