1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:00:04 +08:00

Cache E117 when load neomake conf

close #957
This commit is contained in:
wsdjeg 2017-11-03 20:03:16 +08:00
parent 519a7c6ea3
commit 852aaa7e1f

View File

@ -10,7 +10,10 @@ if get(g:, 'spacevim_lint_on_the_fly', 0)
endif
if !empty(s:neomake_automake_events)
try
call neomake#configure#automake(s:neomake_automake_events)
catch /^Vim\%((\a\+)\)\=:E117/
endtry
endif
" 1 open list and move cursor 2 open list without move cursor
let g:neomake_open_list = get(g:, 'neomake_open_list', 2)