From 08ea94e01188531e819e5d6bea5c84a773b4eb98 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 6 Dec 2015 11:53:26 +0100 Subject: Add elm support, closes #81 --- autoload/elm/io.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 autoload/elm/io.vim (limited to 'autoload') diff --git a/autoload/elm/io.vim b/autoload/elm/io.vim new file mode 100644 index 00000000..509a8f6a --- /dev/null +++ b/autoload/elm/io.vim @@ -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 -- cgit v1.2.3