Mercurial > vim
annotate runtime/compiler/xbuild.vim @ 22002:c9517003821d v8.2.1550
patch 8.2.1550: Vim9: bufname('%') gives an error
Commit: https://github.com/vim/vim/commit/02aaad91094939758e053588dd23ebda467eea29
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 30 21:26:57 2020 +0200
patch 8.2.1550: Vim9: bufname('%') gives an error
Problem: Vim9: bufname('%') gives an error.
Solution: Only give an error for wrong argument type. (closes https://github.com/vim/vim/issues/6807)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Aug 2020 21:30:03 +0200 |
parents | eb6ab7e78925 |
children | e1df51f68736 |
rev | line source |
---|---|
4437 | 1 " Vim compiler file |
2 " Compiler: Mono C# | |
3 " Maintainer: Chiel ten Brinke (ctje92@gmail.com) | |
4 " Last Change: 2013 May 13 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 | |
10 let current_compiler = "xbuild" | |
11 let s:keepcpo= &cpo | |
12 set cpo&vim | |
13 | |
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
15 command -nargs=* CompilerSet setlocal <args> | |
16 endif | |
17 | |
18 CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m | |
19 CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true | |
20 | |
21 let &cpo = s:keepcpo | |
22 unlet s:keepcpo |