From 852aaa7e1f10389827490f0bc524d0ee10fac955 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Fri, 3 Nov 2017 20:03:16 +0800 Subject: [PATCH] Cache E117 when load neomake conf close #957 --- config/plugins/neomake.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/plugins/neomake.vim b/config/plugins/neomake.vim index cc02b0a50..0b522b7db 100644 --- a/config/plugins/neomake.vim +++ b/config/plugins/neomake.vim @@ -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)