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

Fixed ALE setting issues

* Fixed an issue that ALE settings get loaded after ALE initialization.
* Added linter info to error message by default.
This commit is contained in:
Seong Yong-ju 2017-10-26 01:49:53 +09:00
parent 62c3402687
commit 698d2bfeaf
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