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

Merge pull request #936 from sei40kr/feature/ale-echo-msg

Fixed ALE setting issues
This commit is contained in:
Wang Shidong 2017-10-28 21:00:33 +08:00 committed by GitHub
commit f1fcb70ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function! SpaceVim#layers#checkers#plugins() abort
if g:spacevim_enable_neomake
call add(plugins, ['neomake/neomake', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}])
elseif g:spacevim_enable_ale
call add(plugins, ['w0rp/ale', {'merged' : 0, 'loadconf' : 1 , 'loadconf_before' : 1}])
call add(plugins, ['w0rp/ale', {'merged' : 0, 'loadconf_before' : 1}])
else
call add(plugins, ['wsdjeg/syntastic', {'on_event': 'WinEnter', 'loadconf' : 1, 'merged' : 0}])
endif

View File

@ -1,6 +1,7 @@
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