mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-01 07:01:01 +08:00
Merge pull request #2424 from Freed-Wu/Freed-Wu-patch-1
Fix bug of g:airline_symbols.spell == ''
This commit is contained in:
commit
2e29ab9656
|
@ -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…
Reference in New Issue
Block a user