mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 20:24:27 +08:00
Powerline: Mention alternative to notexists symbol
I noticed, that in some environments the default
g:airline_symbols[notexists] just does not show up, even when the same
font in the gui works. So let's at least mention a possible alternative,
that you can easily use in your vimrc:
```vim
if !exists("g:airline_symbols")
let g:airline_symbols = {}
endif
let g:airline_symbols.notexists = "\u2204"
```
This commit is contained in:
@@ -137,6 +137,7 @@ function! airline#init#bootstrap()
|
|||||||
\ 'dirty': "\u26a1",
|
\ 'dirty': "\u26a1",
|
||||||
\ 'crypt': nr2char(0x1F512),
|
\ 'crypt': nr2char(0x1F512),
|
||||||
\ }, 'keep')
|
\ }, 'keep')
|
||||||
|
" Note: If "\u2046" (Ɇ) does not show up, try to use "\u2204" (∄)
|
||||||
elseif &encoding==?'utf-8' && !get(g:, "airline_symbols_ascii", 0)
|
elseif &encoding==?'utf-8' && !get(g:, "airline_symbols_ascii", 0)
|
||||||
" Symbols for Unicode terminals
|
" Symbols for Unicode terminals
|
||||||
call s:check_defined('g:airline_left_sep', "")
|
call s:check_defined('g:airline_left_sep', "")
|
||||||
|
|||||||
@@ -386,6 +386,7 @@ its contents. >
|
|||||||
let g:airline_symbols.paste = '∥'
|
let g:airline_symbols.paste = '∥'
|
||||||
let g:airline_symbols.spell = 'Ꞩ'
|
let g:airline_symbols.spell = 'Ꞩ'
|
||||||
let g:airline_symbols.notexists = 'Ɇ'
|
let g:airline_symbols.notexists = 'Ɇ'
|
||||||
|
let g:airline_symbols.notexists = '∄'
|
||||||
let g:airline_symbols.whitespace = 'Ξ'
|
let g:airline_symbols.whitespace = 'Ξ'
|
||||||
|
|
||||||
" powerline symbols
|
" powerline symbols
|
||||||
|
|||||||
Reference in New Issue
Block a user