Mercurial > vim
annotate src/testdir/unix.vim @ 19912:d4fa9db88d16 v8.2.0512
patch 8.2.0512: Vim9: no optional arguments in func type
Commit: https://github.com/vim/vim/commit/5deeb3f1f9db4eabd36e99cbf857fe376eb37e10
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 5 17:08:17 2020 +0200
patch 8.2.0512: Vim9: no optional arguments in func type
Problem: Vim9: no optional arguments in func type.
Solution: Check for question mark after type. Find function reference
without function().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Apr 2020 17:15:25 +0200 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
rev | line source |
---|---|
7 | 1 " Settings for test script execution |
2 " Always use "sh", don't use the value of "$SHELL". | |
3 set shell=sh | |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
4 |
10791
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
5 " Only when the +eval feature is present. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
6 if 1 |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
7 " While some tests overwrite $HOME to prevent them from polluting user files, |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
8 " we need to remember the original value so that we can tell external systems |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
9 " where to ask about their own user settings. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
10 let g:tester_HOME = $HOME |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
11 endif |
10775
d08655e2633a
patch 8.0.0277: the GUI test may trigger fontconfig and take a long time
Christian Brabandt <cb@256bit.org>
parents:
9501
diff
changeset
|
12 |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
13 source setup.vim |