Merge pull request #496 from mixvin/patch-1
Added explicit call of escript
This commit is contained in:
commit
3870ae133b
@ -29,10 +29,10 @@ function! SyntaxCheckers_erlang_escript_GetLocList()
|
|||||||
if match(shebang, 'escript') >= 0
|
if match(shebang, 'escript') >= 0
|
||||||
let makeprg = 'escript -s '.shellescape(expand('%:p'))
|
let makeprg = 'escript -s '.shellescape(expand('%:p'))
|
||||||
else
|
else
|
||||||
let makeprg = s:check_file . ' '. shellescape(expand('%:p')).' '.g:syntastic_erlc_include_path
|
let makeprg = 'escript ' . s:check_file . ' '. shellescape(expand('%:p')).' '.g:syntastic_erlc_include_path
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
let makeprg = s:check_file . ' ' . shellescape(expand('%:p')).' '.g:syntastic_erlc_include_path
|
let makeprg = 'escript ' . s:check_file . ' ' . shellescape(expand('%:p')).' '.g:syntastic_erlc_include_path
|
||||||
endif
|
endif
|
||||||
let errorformat = '%f:%l:\ %tarning:\ %m,%E%f:%l:\ %m'
|
let errorformat = '%f:%l:\ %tarning:\ %m,%E%f:%l:\ %m'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user