summaryrefslogtreecommitdiff
path: root/vim/.vim/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/compiler')
-rw-r--r--vim/.vim/compiler/gmsh.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/.vim/compiler/gmsh.vim b/vim/.vim/compiler/gmsh.vim
new file mode 100644
index 0000000..70148e8
--- /dev/null
+++ b/vim/.vim/compiler/gmsh.vim
@@ -0,0 +1,12 @@
+if exists("current_compiler")
+ finish
+endif
+
+let current_compiler = "gmsh"
+
+if exists(":CompilerSet") != 2
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+setlocal errorformat=Error\ \ \ :\ \'%f\'\\,\ line\ %l\ :\ %m
+setlocal makeprg=gmsh\ %\ -\\|&\ grep\ Error