From 780955486ba79ac0862ff0dddf6ecf4d203bc182 Mon Sep 17 00:00:00 2001 From: Wang Shidong Date: Tue, 26 May 2020 20:58:33 +0800 Subject: [PATCH] Check SPELL status (#3553) close #3409 --- autoload/SpaceVim/layers/core/statusline.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/SpaceVim/layers/core/statusline.vim b/autoload/SpaceVim/layers/core/statusline.vim index 6dc88e982..8a07bb4de 100644 --- a/autoload/SpaceVim/layers/core/statusline.vim +++ b/autoload/SpaceVim/layers/core/statusline.vim @@ -88,6 +88,9 @@ let [s:ilsep , s:irsep] = get(s:i_separators, g:spacevim_statusline_iseparator, if SpaceVim#layers#isLoaded('checkers') call add(s:loaded_modes, 'syntax-checking') endif +if &spell + call add(s:loaded_modes, 'spell-checking') +endif if &cc ==# '80' call add(s:loaded_modes, 'fill-column-indicator') endif