fixing airline dividers for right hand side

This commit is contained in:
JesseBot 2022-11-10 15:56:06 +01:00
parent 0dc3cf6bff
commit 912d46c23a
2 changed files with 7 additions and 6 deletions

View file

@ -5,8 +5,8 @@
"soft": " " "soft": " "
}, },
"right": { "right": {
"hard": "  ", "hard": " ",
"soft": " " "soft": ""
} }
}, },
"spaces": 1, "spaces": 1,

9
.vimrc
View file

@ -85,9 +85,6 @@ let g:ale_echo_msg_format = 'ALE: [%linter%] %s [%severity%]'
let g:ale_sign_error = '' let g:ale_sign_error = ''
let g:ale_sign_warning = '' let g:ale_sign_warning = ''
" put errors in our status line
let g:airline#extensions#ale#enabled = 1
" map the keys Ctrl+j and Ctrl+k to moving between errors " map the keys Ctrl+j and Ctrl+k to moving between errors
nmap <silent> <C-k> <Plug>(ale_previous_wrap) nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap) nmap <silent> <C-j> <Plug>(ale_next_wrap)
@ -426,9 +423,13 @@ map <leader>n :call RenameFile()<cr>
" use powerline fonts " use powerline fonts
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
" put ALE errors in our status line
let g:airline#extensions#ale#enabled = 1
" changing separators to match personal powerline for shell " changing separators to match personal powerline for shell
let g:airline_left_sep=' ' let g:airline_left_sep=' '
let g:airline_right_sep=' ' let g:airline_right_sep=''
" this is a smaller more consise final airline segment " this is a smaller more consise final airline segment
function! LinePercent() function! LinePercent()