Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions doc/vim9.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*vim9.txt* For Vim バージョン 9.1. Last change: 2024 Dec 23
*vim9.txt* For Vim バージョン 9.1. Last change: 2025 Jan 21

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

Expand Down Expand Up @@ -1940,9 +1940,10 @@ Export ~
export def MyFunc() ...
export class MyClass ...
export interface MyClass ...
export enum MyEnum ...
< *E1043* *E1044*
このことからわかるように、定数、変数、`:def` 関数、クラスのみが export 可能で
このことからわかるように、定数、変数、`:def` 関数、クラス、インターフェイス、
列挙型のみが export 可能です

*E1042*
`:export` はスクリプトレベルで、Vim9 script でのみ使用できます。
Expand Down
7 changes: 4 additions & 3 deletions en/vim9.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*vim9.txt* For Vim version 9.1. Last change: 2024 Dec 23
*vim9.txt* For Vim version 9.1. Last change: 2025 Jan 21


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1938,9 +1938,10 @@ Exporting an item can be written as: >
export def MyFunc() ...
export class MyClass ...
export interface MyClass ...
export enum MyEnum ...
< *E1043* *E1044*
As this suggests, only constants, variables, `:def` functions and classes can
be exported.
As this suggests, only constants, variables, `:def` functions, classes,
interfaces and enums can be exported.

*E1042*
`:export` can only be used in Vim9 script, at the script level.
Expand Down