mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 09:58:29 +08:00
for airline ascii symbols set g:airline_symbols_ascii
This commit is contained in:
parent
d624a44500
commit
f8c85e3e53
|
@ -87,7 +87,7 @@ function! airline#init#bootstrap()
|
|||
\ 'notexists': "\u0246",
|
||||
\ 'crypt': nr2char(0x1F512),
|
||||
\ }, 'keep')
|
||||
elseif &encoding==?'utf-8'
|
||||
elseif &encoding==?'utf-8' && !get(g:, "g:airline_symbols_ascii", 0)
|
||||
" Symbols for Unicode terminals
|
||||
call s:check_defined('g:airline_left_sep', "")
|
||||
call s:check_defined('g:airline_left_alt_sep', "")
|
||||
|
|
|
@ -102,9 +102,12 @@ values):
|
|||
endif
|
||||
endfunction
|
||||
<
|
||||
* enable/disable automatic population of the `g:airline_symbols` dictionary
|
||||
with powerline symbols. >
|
||||
let g:airline_powerline_fonts=0
|
||||
* By default, airline will use unicode symbols if your encoding matches
|
||||
utf-8. If you want the powerline symbols set this variable: >
|
||||
let g:airline_powerline_fonts = 1
|
||||
<
|
||||
If you want to use plain ascii symbols, set this variable: >
|
||||
let g:airline_symbols_ascii = 1
|
||||
<
|
||||
* define the set of text to display for each mode. >
|
||||
let g:airline_mode_map = {} " see source for the defaults
|
||||
|
|
Loading…
Reference in New Issue
Block a user