1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:20:03 +08:00

Check SPELL status (#3553)

close #3409
This commit is contained in:
Wang Shidong 2020-05-26 20:58:33 +08:00 committed by GitHub
parent e3f7a26f71
commit 780955486b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,6 +88,9 @@ let [s:ilsep , s:irsep] = get(s:i_separators, g:spacevim_statusline_iseparator,
if SpaceVim#layers#isLoaded('checkers') if SpaceVim#layers#isLoaded('checkers')
call add(s:loaded_modes, 'syntax-checking') call add(s:loaded_modes, 'syntax-checking')
endif endif
if &spell
call add(s:loaded_modes, 'spell-checking')
endif
if &cc ==# '80' if &cc ==# '80'
call add(s:loaded_modes, 'fill-column-indicator') call add(s:loaded_modes, 'fill-column-indicator')
endif endif