summaryrefslogtreecommitdiff
path: root/runtime/compiler/tcl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/tcl.vim')
-rw-r--r--runtime/compiler/tcl.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/compiler/tcl.vim b/runtime/compiler/tcl.vim
new file mode 100644
index 000000000..76d3edf12
--- /dev/null
+++ b/runtime/compiler/tcl.vim
@@ -0,0 +1,18 @@
+" Vim compiler file
+" Compiler: tcl
+" Maintainer: Doug Kearns <djkea2@mugca.its.monash.edu.au>
+" URL: http://mugca.its.monash.edu.au/~djkea2/vim/compiler/tcl.vim
+" Last Change: 2004 Mar 27
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "tcl"
+
+if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+CompilerSet makeprg=tcl
+
+CompilerSet errorformat=%EError:\ %m,%+Z\ %\\{4}(file\ \"%f\"\ line\ %l),%-G%.%#