Add spell detection

This commit is contained in:
David Terei
2016-03-21 23:52:04 -07:00
parent 410429a95c
commit ae4a978509
5 changed files with 20 additions and 3 deletions
+4
View File
@@ -62,6 +62,10 @@ function! airline#parts#paste()
return g:airline_detect_paste && &paste ? g:airline_symbols.paste : ''
endfunction
function! airline#parts#spell()
return g:airline_detect_spell && &spell ? g:airline_symbols.spell : ''
endfunction
function! airline#parts#iminsert()
if g:airline_detect_iminsert && &iminsert && exists('b:keymap_name')
return toupper(b:keymap_name)