Skip to content

Commit 71fbf88

Browse files
committed
Update ft_mp.{txt,jax}
1 parent 78bca2e commit 71fbf88

2 files changed

Lines changed: 36 additions & 36 deletions

File tree

doc/ft_mp.jax

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
*ft_mp.txt* For Vim バージョン 9.1. Last change: 2022 Aug 12
1+
*ft_mp.txt* For Vim バージョン 9.2. Last change: 2026 Jan 10
22

33
これは METAFONT および MetaPost ファイルタイププラグインのドキュメントである。
44
特に指定がない限り、以下で定義されているコマンド、設定、およびマッピングは、両
55
方のファイルタイプに等しく適用される。
66

7-
NOTE: このプラグインは +vim9script が必要である。
7+
NOTE: このプラグインは |+vim9script| が必要である。
88

99
==============================================================================
1010
☆内容 *mp.vim* *ft-metapost*
@@ -37,25 +37,25 @@ METAFONT および MetaPost コードのインデントルールの定義は、
3737

3838
例えば、これはシンプルなマクロのデフォルトのインデントである:
3939
>
40-
def foo =
41-
makepen(
42-
subpath(T-n,t) of r
43-
shifted .5down
44-
--subpath(t,T) of r shifted .5up -- cycle
45-
)
46-
withcolor black
47-
enddef
40+
def foo =
41+
makepen(
42+
subpath(T-n,t) of r
43+
shifted .5down
44+
--subpath(t,T) of r shifted .5up -- cycle
45+
)
46+
withcolor black
47+
enddef
4848
<
4949
特別なコメントを追加することで、インデントを任意に調整できる:
5050
>
51-
def foo =
52-
makepen(
53-
subpath(T-n,t) of r %>
54-
shifted .5down %>
55-
--subpath(t,T) of r shifted .5up -- cycle %<<<
56-
)
57-
withcolor black
58-
enddef
51+
def foo =
52+
makepen(
53+
subpath(T-n,t) of r %>
54+
shifted .5down %>
55+
--subpath(t,T) of r shifted .5up -- cycle %<<<
56+
)
57+
withcolor black
58+
enddef
5959
<
6060
*ft-metapost-commands*
6161
コマンド ~

en/ft_mp.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
*ft_mp.txt* For Vim version 9.1. Last change: 2022 Aug 12
1+
*ft_mp.txt* For Vim version 9.2. Last change: 2026 Jan 10
22

33
This is the documentation for the METAFONT and MetaPost filetype plugins.
44
Unless otherwise specified, the commands, settings and mappings defined below
55
apply equally to both filetypes.
66

7-
NOTE: the plugin requires +vim9script.
7+
NOTE: the plugin requires |+vim9script|.
88

99
==============================================================================
1010
CONTENTS *mp.vim* *ft-metapost*
@@ -38,25 +38,25 @@ next line should not change from whatever it has been manually set.
3838

3939
For example, this is the default indentation of a simple macro:
4040
>
41-
def foo =
42-
makepen(
43-
subpath(T-n,t) of r
44-
shifted .5down
45-
--subpath(t,T) of r shifted .5up -- cycle
46-
)
47-
withcolor black
48-
enddef
41+
def foo =
42+
makepen(
43+
subpath(T-n,t) of r
44+
shifted .5down
45+
--subpath(t,T) of r shifted .5up -- cycle
46+
)
47+
withcolor black
48+
enddef
4949
<
5050
By adding the special comments, the indentation can be adjusted arbitrarily:
5151
>
52-
def foo =
53-
makepen(
54-
subpath(T-n,t) of r %>
55-
shifted .5down %>
56-
--subpath(t,T) of r shifted .5up -- cycle %<<<
57-
)
58-
withcolor black
59-
enddef
52+
def foo =
53+
makepen(
54+
subpath(T-n,t) of r %>
55+
shifted .5down %>
56+
--subpath(t,T) of r shifted .5up -- cycle %<<<
57+
)
58+
withcolor black
59+
enddef
6060
<
6161
*ft-metapost-commands*
6262
Commands ~

0 commit comments

Comments
 (0)