diff --git a/doc/vim9.jax b/doc/vim9.jax index 4ae060089..49663ce9f 100644 --- a/doc/vim9.jax +++ b/doc/vim9.jax @@ -1,4 +1,4 @@ -*vim9.txt* For Vim バージョン 9.1. Last change: 2025 Apr 18 +*vim9.txt* For Vim バージョン 9.1. Last change: 2025 Apr 27 VIMリファレンスマニュアル by Bram Moolenaar @@ -2043,7 +2043,7 @@ export された項目は、別のスクリプトで import することがで 名前が ".vim" で終わらない場合は、"as name" を使用する必要があります。 -vim9 script ファイルを一度 import すると、その結果はキャッシュされ、次に同じス +Vim9 script ファイルを一度 import すると、その結果はキャッシュされ、次に同じス クリプトを import するときに使用されます。再度読み込まれることはありません。 2 つの異なる "as" 名を使用する場合も同様に、同じスクリプトを 2 回 import する @@ -2056,7 +2056,7 @@ import 名を使用する場合、ドットと項目名は同じ行になけれ echo that .name # エラー! < *import-map* -あるスクリプトから vim9 script に関数を import した場合、import した関数の前に +あるスクリプトから Vim9 script に関数を import した場合、import した関数の前に || を付けることで、マッピングで参照することができます: > noremap ,a :call name.Function() diff --git a/en/vim9.txt b/en/vim9.txt index ba72358d1..0dae57deb 100644 --- a/en/vim9.txt +++ b/en/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 9.1. Last change: 2025 Apr 18 +*vim9.txt* For Vim version 9.1. Last change: 2025 Apr 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2043,7 +2043,7 @@ The script name after `import` can be: If the name does not end in ".vim" then the use of "as name" is required. -Once a vim9 script file has been imported, the result is cached and used the +Once a Vim9 script file has been imported, the result is cached and used the next time the same script is imported. It will not be read again. 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: > echo that .name # Error! < *import-map* -When you've imported a function from one script into a vim9 script you can +When you've imported a function from one script into a Vim9 script you can refer to the imported function in a mapping by prefixing it with ||: > noremap ,a :call name.Function()