mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] retract some hacks in response to vim-airline/vim-airline@1f94ec1556
This commit is contained in:
parent
f944dbe5e2
commit
4694ecc665
2 changed files with 5 additions and 9 deletions
|
@ -1,11 +1,7 @@
|
|||
function! airline#extensions#dotfiles_tweaks#init(ext) abort
|
||||
" Undo this commit a little bit:
|
||||
" <https://github.com/vim-airline/vim-airline/commit/8929bc72a13d358bb8369443386ac3cc4796ca16>
|
||||
call airline#parts#define('maxlinenr', {
|
||||
\ 'raw': trim(airline#parts#get('maxlinenr').raw),
|
||||
\ })
|
||||
call airline#parts#define('colnr', {
|
||||
\ 'raw': trim(airline#parts#get('colnr').raw),
|
||||
\ 'accent': 'none',
|
||||
\ })
|
||||
" Most of the hacks present here are not required anymore:
|
||||
" <https://github.com/vim-airline/vim-airline/commit/1f94ec1556db36088897c85db62251b62b683ab3>
|
||||
call airline#parts#define_accent('colnr', 'none')
|
||||
endfunction
|
||||
|
|
|
@ -92,8 +92,8 @@ endif
|
|||
let g:airline_symbols = {
|
||||
\ 'readonly': 'RO',
|
||||
\ 'whitespace': '',
|
||||
\ 'colnr': '',
|
||||
\ 'linenr': '',
|
||||
\ 'colnr': ' :',
|
||||
\ 'linenr': ' :',
|
||||
\ 'maxlinenr': ' ',
|
||||
\ 'branch': '',
|
||||
\ 'notexists': ' [?]',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue