1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:20:04 +08:00

fix(ale): file ale config

This commit is contained in:
wsdjeg 2022-04-03 22:28:30 +08:00
parent a7a89ef088
commit 6ec2c959c5

View File

@ -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_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) 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 ALEErrorSign GruvboxRedSign
highlight link ALEWarningSign GruvboxYellowSign highlight link ALEWarningSign GruvboxYellowSign
endif 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_on_text_changed = 'always'
let g:ale_lint_delay = 750 let g:ale_lint_delay = 750
else else