Skip to content

Commit d6c2251

Browse files
committed
Update vim9.{txt,jax}
1 parent f17979a commit d6c2251

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

doc/vim9.jax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9.txt* For Vim バージョン 9.1. Last change: 2025 Apr 18
1+
*vim9.txt* For Vim バージョン 9.1. Last change: 2025 Apr 27
22

33
VIMリファレンスマニュアル by Bram Moolenaar
44

@@ -2043,7 +2043,7 @@ export された項目は、別のスクリプトで import することがで
20432043

20442044
名前が ".vim" で終わらない場合は、"as name" を使用する必要があります。
20452045

2046-
vim9 script ファイルを一度 import すると、その結果はキャッシュされ、次に同じス
2046+
Vim9 script ファイルを一度 import すると、その結果はキャッシュされ、次に同じス
20472047
クリプトを import するときに使用されます。再度読み込まれることはありません。
20482048

20492049
2 つの異なる "as" 名を使用する場合も同様に、同じスクリプトを 2 回 import する
@@ -2056,7 +2056,7 @@ import 名を使用する場合、ドットと項目名は同じ行になけれ
20562056
echo that
20572057
.name # エラー!
20582058
< *import-map*
2059-
あるスクリプトから vim9 script に関数を import した場合、import した関数の前に
2059+
あるスクリプトから Vim9 script に関数を import した場合、import した関数の前に
20602060
|<SID>| を付けることで、マッピングで参照することができます: >
20612061
noremap <silent> ,a :call <SID>name.Function()<CR>
20622062

en/vim9.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9.txt* For Vim version 9.1. Last change: 2025 Apr 18
1+
*vim9.txt* For Vim version 9.1. Last change: 2025 Apr 27
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2043,7 +2043,7 @@ The script name after `import` can be:
20432043

20442044
If the name does not end in ".vim" then the use of "as name" is required.
20452045

2046-
Once a vim9 script file has been imported, the result is cached and used the
2046+
Once a Vim9 script file has been imported, the result is cached and used the
20472047
next time the same script is imported. It will not be read again.
20482048

20492049
It is not allowed to import the same script twice, also when using two
@@ -2056,7 +2056,7 @@ line, there can be no line break: >
20562056
echo that
20572057
.name # Error!
20582058
< *import-map*
2059-
When you've imported a function from one script into a vim9 script you can
2059+
When you've imported a function from one script into a Vim9 script you can
20602060
refer to the imported function in a mapping by prefixing it with |<SID>|: >
20612061
noremap <silent> ,a :call <SID>name.Function()<CR>
20622062

0 commit comments

Comments
 (0)