mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +08:00
Fix airline config
This commit is contained in:
parent
3511e02efc
commit
d8149ebfb5
@ -55,6 +55,9 @@ function! SpaceVim#init() abort
|
||||
" <
|
||||
" now Space Vim support these groups:
|
||||
let g:spacevim_plugin_groups = []
|
||||
""
|
||||
" enable/disable SpaceVim with powerline symbols.
|
||||
let g:spacevim_enable_powerline_fonts = 1
|
||||
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
|
||||
let g:spacevim_smartcloseignoreft = ['help']
|
||||
let g:spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
||||
|
@ -1,5 +1,5 @@
|
||||
scriptencoding utf-8
|
||||
let g:airline_powerline_fonts=1
|
||||
let g:airline_powerline_fonts = g:spacevim_enable_powerline_fonts
|
||||
let g:airline_skip_empty_sections = 1
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:airline#extensions#tmuxline#enabled = 1
|
||||
@ -27,30 +27,26 @@ if !exists('g:airline_symbols')
|
||||
endif
|
||||
|
||||
" unicode symbols
|
||||
let g:airline_left_sep = '»'
|
||||
let g:airline_left_sep = '▶'
|
||||
let g:airline_right_sep = '«'
|
||||
let g:airline_right_sep = '◀'
|
||||
let g:airline_symbols.crypt = '🔒'
|
||||
let g:airline_symbols.linenr = '␊'
|
||||
let g:airline_symbols.linenr = ''
|
||||
let g:airline_symbols.linenr = '¶'
|
||||
let g:airline_symbols.branch = '⎇'
|
||||
let g:airline_symbols.paste = 'ρ'
|
||||
let g:airline_symbols.paste = 'Þ'
|
||||
let g:airline_symbols.paste = '∥'
|
||||
let g:airline_symbols.notexists = '∄'
|
||||
let g:airline_symbols.whitespace = 'Ξ'
|
||||
|
||||
" powerline symbols
|
||||
let g:airline_left_sep = ''
|
||||
let g:airline_left_alt_sep = ''
|
||||
let g:airline_right_sep = ''
|
||||
let g:airline_right_alt_sep = ''
|
||||
let g:airline_symbols.branch = ''
|
||||
let g:airline_symbols.readonly = ''
|
||||
let g:airline_symbols.linenr = ''
|
||||
let g:airline_symbols.maxlinenr= ''
|
||||
if get(g:, 'airline_powerline_fonts', 0)
|
||||
let g:airline_left_sep = ''
|
||||
let g:airline_left_alt_sep = ''
|
||||
let g:airline_right_sep = ''
|
||||
let g:airline_right_alt_sep = ''
|
||||
let g:airline_symbols.branch = ''
|
||||
let g:airline_symbols.readonly = ''
|
||||
let g:airline_symbols.linenr = ''
|
||||
let g:airline_symbols.maxlinenr= ''
|
||||
endif
|
||||
|
||||
|
||||
augroup Fix_airline_with_unite
|
||||
|
Loading…
Reference in New Issue
Block a user