vim-polyglot/autoload/elm/io.vim

13 lines
300 B
VimL
Raw Normal View History

2015-12-06 05:53:26 -05:00
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