mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:30:05 +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:
parent
62c3402687
commit
698d2bfeaf
@ -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
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user