vim-polyglot/autoload/elm/io.vim
2015-12-06 11:53:26 +01:00

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