From 6ec2c959c51c423f5ba4558c66580abf49c6089b Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Sun, 3 Apr 2022 22:28:30 +0800 Subject: [PATCH] fix(ale): file ale config --- config/plugins_before/ale.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/plugins_before/ale.vim b/config/plugins_before/ale.vim index 0f064c2a0..24269ba92 100644 --- a/config/plugins_before/ale.vim +++ b/config/plugins_before/ale.vim @@ -5,12 +5,12 @@ let g:ale_sign_info = get(g:,'spacevim_info_symbol', '🛈') let g:ale_echo_msg_format = get(g:, 'ale_echo_msg_format', '%severity%: %linter%: %s') let g:ale_lint_on_save = get(g:, 'spacevim_lint_on_save', 1) -if g:spacevim_colorscheme ==# 'gruvbox' +if get(g:, 'spacevim_colorscheme', '') ==# 'gruvbox' highlight link ALEErrorSign GruvboxRedSign highlight link ALEWarningSign GruvboxYellowSign endif -if g:spacevim_lint_on_the_fly +if get(g:, 'spacevim_lint_on_the_fly', 0) let g:ale_lint_on_text_changed = 'always' let g:ale_lint_delay = 750 else