annotate runtime/compiler/msvc.vim @ 20756:33a14786a0e4
v8.2.0930
patch 8.2.0930: script filetype detection trips over env -S argument
Commit: https://github.com/vim/vim/commit/b5e18f29fac9253b0ccf1fde5e74bff72fa1ba60
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 21:58:54 2020 +0200
patch 8.2.0930: script filetype detection trips over env -S argument
Problem: Script filetype detection trips over env -S argument.
Solution: Remove "-S" and "--ignore-environment". (closes https://github.com/vim/vim/issues/5013)
Add tests.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 07 Jun 2020 22:00:04 +0200 |
parents |
bd18da914be9 |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim compiler file
|
6259
|
2 " Compiler: Microsoft Visual C
|
7
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
6259
|
4 " Last Change: 2014 Sep 20
|
7
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "msvc"
|
|
10
|
|
11 " The errorformat for MSVC is the default.
|
572
|
12 CompilerSet errorformat&
|
|
13 CompilerSet makeprg=nmake
|