From 128ac00c59213f9a0e372a6864cfffe8eb226bda Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Thu, 4 Apr 2013 22:53:40 +0100 Subject: [PATCH] vhdl/ghdl checker: use syntastic#makeprg#build --- syntax_checkers/vhdl/ghdl.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/syntax_checkers/vhdl/ghdl.vim b/syntax_checkers/vhdl/ghdl.vim index 929867cb..57faa9de 100644 --- a/syntax_checkers/vhdl/ghdl.vim +++ b/syntax_checkers/vhdl/ghdl.vim @@ -19,7 +19,10 @@ function! SyntaxCheckers_vhdl_ghdl_IsAvailable() endfunction function! SyntaxCheckers_vhdl_ghdl_GetLocList() - let makeprg = 'ghdl -s '.shellescape(expand('%')) + let makeprg = syntastic#makeprg#build({ + \ 'exe': 'ghdl', + \ 'args': '-s', + \ 'subchecker': 'ghdl' }) let errorformat = '%f:%l:%c: %m' return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })