Skip to content

Commit fd9017a

Browse files
authored
Merge pull request #1444 from vim-jp/hh-update-vim9
Update vim9.{txt,jax}
2 parents e43d85d + 89d4aff commit fd9017a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/vim9.jax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ Note これは変数には効かず、関数にしか効かないということ
20312031
`:import` は旧来の Vim script でも使用することができます。"s:" というプリフィ
20322032
ックスがない場合でも、import された名前空間はスクリプトローカルとなります。
20332033
例: >
2034-
import "myfile.vim"
2034+
import "myfile.vim"
20352035
call s:myfile.MyFunc()
20362036
20372037
そして "as name" 形式を使用する: >

en/vim9.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2024,7 +2024,7 @@ Note that this does not work for variables, only for functions.
20242024
*import-legacy* *legacy-import*
20252025
`:import` can also be used in legacy Vim script. The imported namespace still
20262026
becomes script-local, even when the "s:" prefix is not given. For example: >
2027-
import "myfile.vim"
2027+
import "myfile.vim"
20282028
call s:myfile.MyFunc()
20292029
20302030
And using the "as name" form: >

0 commit comments

Comments
 (0)