From a3971297aaff71e8de97901e1aac14a6f329afe2 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 25 Aug 2014 23:56:55 -0400 Subject: [PATCH] make java errors about being unable to find external imports silent --- vim/config/plugins.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index acf3263..904a189 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -149,13 +149,15 @@ let g:autostartchecker=0 else if (g:autostartchecker == 1) - let g:syntastic_mode_map = {'mode':'active','active_filetypes':[],'passive_filetypes':[]} + let g:syntastic_mode_map={'mode':'active','active_filetypes':[],'passive_filetypes':[]} let g:syntastic_check_on_open=1 else - let g:syntastic_mode_map = {'mode':'passive','active_filetypes':[],'passive_filetypes':[]} + let g:syntastic_mode_map={'mode':'passive','active_filetypes':[],'passive_filetypes':[]} let g:syntastic_check_on_open=0 endif + let g:syntastic_quiet_messages={'regex':['package\ [^\ ]*\ does not exist.*', 'cannot find symbol.*']} + let g:syntastic_check_on_wq=0 let g:syntastic_always_populate_loc_list=1 let g:syntastic_auto_loc_list=1