annotate runtime/compiler/msbuild.vim @ 18492:41a5f241e9d5 v8.1.2240

patch 8.1.2240: popup window width changes when scrolling Commit: https://github.com/vim/vim/commit/f2885d3fb7045d14ae58824e9cb8dea65e4052c4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 20:21:25 2019 +0100 patch 8.1.2240: popup window width changes when scrolling Problem: Popup window width changes when scrolling. Solution: Also adjust maxwidth when applying minwidth and there is a scrollbar. Fix off-by-one error. (closes #5162)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 20:30:03 +0100
parents eb6ab7e78925
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4437
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Compiler: Microsoft Visual Studio C#
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Chiel ten Brinke (ctje92@gmail.com)
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " Last Change: 2013 May 13
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if exists("current_compiler")
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 finish
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 endif
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 let current_compiler = "msbuild"
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 let s:keepcpo= &cpo
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 set cpo&vim
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 command -nargs=* CompilerSet setlocal <args>
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 endif
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 CompilerSet makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 let &cpo = s:keepcpo
eb6ab7e78925 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 unlet s:keepcpo