mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 20:24:27 +08:00
Fix bug of g:airline_symbols.spell == ''
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user