mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-23 14:04:53 +02:00
Fix bug of g:airline_symbols.spell == ''
This commit is contained in:
parent
0de4c9df21
commit
78cb6e6621
@ -72,7 +72,7 @@ function! airline#parts#spell()
|
|||||||
return g:airline_symbols.spell . spelllang
|
return g:airline_symbols.spell . spelllang
|
||||||
elseif winwidth >= 70
|
elseif winwidth >= 70
|
||||||
return g:airline_symbols.spell
|
return g:airline_symbols.spell
|
||||||
else
|
elseif !empty(g:airline_symbols.spell)
|
||||||
return split(g:airline_symbols.spell, '\zs')[0]
|
return split(g:airline_symbols.spell, '\zs')[0]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user