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
|
endfunction
|
||||||
|
|
||||||
function! SyntaxCheckers_vhdl_ghdl_GetLocList()
|
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'
|
let errorformat = '%f:%l:%c: %m'
|
||||||
|
|
||||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
|
Loading…
Reference in New Issue
Block a user