summaryrefslogtreecommitdiff
path: root/runtime/compiler/msvc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/msvc.vim')
-rw-r--r--runtime/compiler/msvc.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/compiler/msvc.vim b/runtime/compiler/msvc.vim
new file mode 100644
index 000000000..5fb1f24b3
--- /dev/null
+++ b/runtime/compiler/msvc.vim
@@ -0,0 +1,17 @@
+" Vim compiler file
+" Compiler: Miscrosoft Visual C
+" Maintainer: Bram Moolenaar <Bram@vim.org>
+" Last Change: 2004 Mar 19
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "msvc"
+
+if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+" The errorformat for MSVC is the default.
+CompilerSet errorformat&
+CompilerSet makeprg=nmake