Skip to content

Commit 65bf486

Browse files
authored
Merge pull request #2620 from h-east/update-vim9
Update vim9.{txt,jax}
2 parents 5186eec + ac1fa07 commit 65bf486

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

doc/vim9.jax

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9.txt* For Vim バージョン 9.2. Last change: 2026 Feb 14
1+
*vim9.txt* For Vim バージョン 9.2. Last change: 2026 May 04
22

33

44
VIM リファレンスマニュアル by Bram Moolenaar
@@ -2335,11 +2335,6 @@ script と Vim9 script の両方で、辞書以外の値が必要なときに、
23352335

23362336
let &laststatus=v:true
23372337
vim9cmd &laststatus = true
2338-
<
2339-
- 引数に文字列が必要な場合に文字列を使用しない (|E1174|) >vim
2340-
2341-
echo substitute('Hallo', 'a', 'e', v:true)
2342-
vim9cmd echo substitute('Hallo', 'a', 'e', true) # E1174: String...
23432338
<
23442339
結果として、|map()| に渡されるリストまたは辞書の項目の型は、その型が宣言または
23452340
推論された場合でも変更してはいけない。例えば、これは Vim9 script ではエラーに

en/vim9.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9.txt* For Vim version 9.2. Last change: 2026 Feb 14
1+
*vim9.txt* For Vim version 9.2. Last change: 2026 May 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2355,11 +2355,6 @@ in Vim9 script.
23552355

23562356
let &laststatus=v:true
23572357
vim9cmd &laststatus = true
2358-
<
2359-
- Not using a string where an argument requires a string (|E1174|) >vim
2360-
2361-
echo substitute('Hallo', 'a', 'e', v:true)
2362-
vim9cmd echo substitute('Hallo', 'a', 'e', true) # E1174: String...
23632358
<
23642359
One consequence is that the item type of a list or dict given to |map()| must
23652360
not change when its type is either declared or inferred. For example, this

0 commit comments

Comments
 (0)