1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:30:04 +08:00
SpaceVim/config/plugins_before/ale.vim
Seong Yong-ju 698d2bfeaf Fixed ALE setting issues
* Fixed an issue that ALE settings get loaded after ALE initialization.
* Added linter info to error message by default.
2017-10-26 01:49:53 +09:00

17 lines
536 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', '➤')
let g:ale_echo_msg_format = get(g:, 'ale_echo_msg_format', '%severity%: %linter%: %s')
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