1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 12:40:05 +08:00
SpaceVim/config/plugins/ale.vim
2017-10-25 10:40:37 +08:00

16 lines
449 B
VimL

scriptencoding utf-8
let g:ale_sign_error = get(g:, 'spacevim_error_symbol', '✖')
let g:ale_sign_warning = get(g:,'spacevim_warning_symbol', '➤')
if g:spacevim_colorscheme == 'gruvbox'
highlight link ALEErrorSign GruvboxRedSign
highlight link ALEWarningSign GruvboxYellowSign
endif
if g:spacevim_lint_on_the_fly
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_delay = 750
else
let g:ale_lint_on_text_changed = 'never'
endif