Mercurial > vim
annotate runtime/compiler/pbx.vim @ 19975:4e8e0ce576af v8.2.0543
patch 8.2.0543: Vim9: function with varargs does not work properly
Commit: https://github.com/vim/vim/commit/1378fbc4591b77186c90beda37bdac628add4cb6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 11 20:50:33 2020 +0200
patch 8.2.0543: Vim9: function with varargs does not work properly
Problem: Vim9: function with varargs does not work properly.
Solution: Improve function type spec and add tests. Fix bugs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 Apr 2020 21:00:04 +0200 |
parents | 3fc0f57ecb91 |
children | e1df51f68736 |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
2 " Compiler: Apple Project Builder | |
3 " Maintainer: Alexander von Below (public@vonBelow.Com) | |
4 " Last Change: 2004 Mar 27 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "pbx" | |
10 | |
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
12 command -nargs=* CompilerSet setlocal <args> | |
13 endif | |
14 | |
15 " The compiler actually is gcc, so the errorformat is unchanged | |
16 CompilerSet errorformat& | |
17 | |
18 " default make | |
19 CompilerSet makeprg=pbxbuild | |
20 |