view runtime/compiler/msbuild.vim @ 19776:42e4083429a7

patch 8.2.0444: swap file test fails on some systems Commit: https://github.com/vim/vim/commit/d36ef573b2fad620824495f5423cb649cde55e03 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 24 21:44:51 2020 +0100 patch 8.2.0444: swap file test fails on some systems Problem: Swap file test fails on some systems. Solution: Preserve the swap file. Send NL terminated keys.
author Bram Moolenaar <Bram@vim.org>
date Tue, 24 Mar 2020 21:45:05 +0100
parents eb6ab7e78925
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Microsoft Visual Studio C#
" Maintainer:	Chiel ten Brinke (ctje92@gmail.com)
" Last Change:	2013 May 13

if exists("current_compiler")
  finish
endif
let current_compiler = "msbuild"
let s:keepcpo= &cpo
set cpo&vim

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
CompilerSet makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true

let &cpo = s:keepcpo
unlet s:keepcpo