mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-21 21:14:47 +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
|
||||
elseif winwidth >= 70
|
||||
return g:airline_symbols.spell
|
||||
else
|
||||
elseif !empty(g:airline_symbols.spell)
|
||||
return split(g:airline_symbols.spell, '\zs')[0]
|
||||
endif
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user