Add elm support, closes #81

This commit is contained in:
Adam Stankiewicz
2015-12-06 11:53:26 +01:00
parent ba7a783c7f
commit 08ea94e011
7 changed files with 314 additions and 0 deletions

12
autoload/elm/io.vim Normal file
View File

@@ -0,0 +1,12 @@
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