vhdl/ghdl checker: use syntastic#makeprg#build
This commit is contained in:
parent
45cb348fd9
commit
128ac00c59
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user