diff --git a/syntax_checkers/lisp/clisp.vim b/syntax_checkers/lisp/clisp.vim index 0f8c051c..60650c38 100644 --- a/syntax_checkers/lisp/clisp.vim +++ b/syntax_checkers/lisp/clisp.vim @@ -21,14 +21,25 @@ endfunction function! SyntaxCheckers_lisp_clisp_GetLocList() let makeprg = syntastic#makeprg#build({ \ 'exe': 'clisp', - \ 'args': '-c', + \ 'args': '-q -c', \ 'tail': '-o /tmp/clisp-vim-compiled-file', \ 'subchecker': 'clisp' }) + let efm = '%-G;%.%#,' - let efm .= '%W%>WARNING:%.%#line %l : %m,%C %#%m,' - let efm .= '%E%>The following functions were %m,%Z %m,' + + let efm .= '%W%>WARNING:%.%#line %l : %m,' + let efm .= '%Z %#%m,' + + let efm .= '%W%>WARNING:%.%#lines %l..%\d\# : %m,' + let efm .= '%Z %#%m,' + + let efm .= '%E%>The following functions were %m,' + let efm .= '%Z %m,' + let efm .= '%-G%.%#' - return SyntasticMake({ 'makeprg': makeprg, 'errorformat': efm }) + return SyntasticMake({ 'makeprg': makeprg, + \ 'errorformat': efm, + \ 'defaults': {'bufnr': bufnr('')} }) endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({