Merge branch 'master' into gcc_refactor
This commit is contained in:
commit
6bff80366a
@ -166,7 +166,7 @@ endfunction
|
||||
|
||||
" A less noisy shellescape(expand())
|
||||
function! syntastic#util#shexpand(string)
|
||||
return syntastic#util#shescape(expand(a:string))
|
||||
return syntastic#util#shescape(escape(expand(a:string), '|'))
|
||||
endfunction
|
||||
|
||||
function! syntastic#util#debug(msg)
|
||||
|
@ -112,10 +112,10 @@ function s:GetOcamlcMakeprg()
|
||||
if g:syntastic_ocaml_use_janestreet_core
|
||||
let build_cmd = "ocamlc -I "
|
||||
let build_cmd .= expand(g:syntastic_ocaml_janestreet_core_dir)
|
||||
let build_cmd .= " -c " . expand('%')
|
||||
let build_cmd .= " -c " . syntastic#util#shexpand('%')
|
||||
return build_cmd
|
||||
else
|
||||
return "ocamlc -c " . expand('%')
|
||||
return "ocamlc -c " . syntastic#util#shexpand('%')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user