nvim: init.vim: Minor updates to airline

This commit is contained in:
Sanchayan Maity 2019-12-04 07:59:57 +05:30 committed by Sanchayan Maity
parent 83d381942f
commit fc225d7dd8

View file

@ -13,7 +13,7 @@ Plug 'liuchengxu/vim-clap'
" Remove extraneous whitespace when edit mode is exited " Remove extraneous whitespace when edit mode is exited
Plug 'thirtythreeforty/lessspace.vim' Plug 'thirtythreeforty/lessspace.vim'
" Status bar mods " Status bar mods
Plug 'bling/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
" Manage Project sessions " Manage Project sessions
Plug 'thaerkh/vim-workspace' Plug 'thaerkh/vim-workspace'
@ -389,12 +389,13 @@ let g:rustfmt_autosave = 1
let g:deoplete#auto_complete_delay = 100 let g:deoplete#auto_complete_delay = 100
" Use airline " Use airline
let g:airline#extensions#tabline#enabled = 2 let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#fnamemod = ':t' let g:airline#extensions#tabline#fnamemod = ':t'
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 = '|'
let g:airline#extensions#tabline#right_sep = ' ' let g:airline#extensions#tabline#right_sep = ' '
let g:airline#extensions#tabline#right_alt_sep = '|' let g:airline#extensions#tabline#right_alt_sep = '|'
let g:airline#extensions#tabline#formatter = 'default'
let g:airline_left_sep = ' ' let g:airline_left_sep = ' '
let g:airline_left_alt_sep = '|' let g:airline_left_alt_sep = '|'
let g:airline_right_sep = ' ' let g:airline_right_sep = ' '