File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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コマンド ~
Original file line number Diff line number Diff line change 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
33This is the documentation for the METAFONT and MetaPost filetype plugins.
44Unless otherwise specified, the commands, settings and mappings defined below
55apply equally to both filetypes.
66
7- NOTE: the plugin requires +vim9script.
7+ NOTE: the plugin requires | +vim9script | .
88
99==============================================================================
1010CONTENTS *mp.vim* *ft-metapost*
@@ -38,25 +38,25 @@ next line should not change from whatever it has been manually set.
3838
3939For 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<
5050By 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*
6262Commands ~
You can’t perform that action at this time.
0 commit comments