summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/erlang.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/erlang.vim')
-rw-r--r--runtime/compiler/erlang.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/compiler/erlang.vim b/runtime/compiler/erlang.vim
new file mode 100644
index 0000000..e177a27
--- /dev/null
+++ b/runtime/compiler/erlang.vim
@@ -0,0 +1,13 @@
+" Vim compiler file
+" Compiler: Erlang
+" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
+" Last Change: 2012-02-13
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "erlang"
+
+CompilerSet makeprg=erlc\ -Wall\ %
+
+CompilerSet errorformat=%f:%l:\ %m