Clisp: workaround to remove ciompiled files.
This commit is contained in:
parent
72e0593eae
commit
ba7d1b40bf
@ -19,9 +19,13 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_lisp_clisp_GetLocList() dict
|
||||
let tmpdir = syntastic#util#tmpdir()
|
||||
let out = tmpdir != '.' ? ('-o ' . syntastic#util#shescape(tmpdir . syntastic#util#Slash() . 'syntastic_' . getpid())) : ''
|
||||
|
||||
let makeprg = self.makeprgBuild({
|
||||
\ 'args_after': '-q',
|
||||
\ 'fname_before': '-c' })
|
||||
\ 'fname_before': '-c',
|
||||
\ 'post_args_after': out })
|
||||
|
||||
let errorformat =
|
||||
\ '%-G;%.%#,' .
|
||||
@ -33,10 +37,14 @@ function! SyntaxCheckers_lisp_clisp_GetLocList() dict
|
||||
\ '%Z %m,' .
|
||||
\ '%-G%.%#'
|
||||
|
||||
return SyntasticMake({
|
||||
let loclist = SyntasticMake({
|
||||
\ 'makeprg': makeprg,
|
||||
\ 'errorformat': errorformat,
|
||||
\ 'defaults': {'bufnr': bufnr('')} })
|
||||
|
||||
call syntastic#util#rmrf(tmpdir)
|
||||
|
||||
return loclist
|
||||
endfunction
|
||||
|
||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||
|
Loading…
x
Reference in New Issue
Block a user