13 lines
300 B
VimL
13 lines
300 B
VimL
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1
|
||
|
|
||
|
" System IO
|
||
|
|
||
|
" Craft a system command and run it, returning the output.
|
||
|
function! elm#io#system(program, args)
|
||
|
let cmd ="which " . a:program . " && " . a:program . " " . a:args
|
||
|
return system(cmd)
|
||
|
endfunction
|
||
|
|
||
|
|
||
|
endif
|