summaryrefslogtreecommitdiffstats
path: root/compiler/msvc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/msvc.vim')
-rw-r--r--compiler/msvc.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/compiler/msvc.vim b/compiler/msvc.vim
new file mode 100644
index 00000000..5e630cf2
--- /dev/null
+++ b/compiler/msvc.vim
@@ -0,0 +1,17 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
+
+" Vim compiler file
+" Compiler: Microsoft Visual C
+" Maintainer: Bram Moolenaar <Bram@vim.org>
+" Last Change: 2014 Sep 20
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "msvc"
+
+" The errorformat for MSVC is the default.
+CompilerSet errorformat&
+CompilerSet makeprg=nmake
+
+endif