File tree Expand file tree Collapse file tree 6 files changed +39
-11
lines changed Expand file tree Collapse file tree 6 files changed +39
-11
lines changed Original file line number Diff line number Diff line change 1
- *filetype.txt* For Vim バージョン 8.2. Last change: 2022 Apr 07
1
+ *filetype.txt* For Vim バージョン 8.2. Last change: 2022 Apr 09
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -149,6 +149,7 @@ NOTE: Vi互換とは全てのオプションがグローバルであることを
149
149
*.asp g:filetype_asp | ft-aspvbs-syntax | | ft-aspperl-syntax |
150
150
*.bas g:filetype_bas | ft-basic-syntax |
151
151
*.cfg g:filetype_cfg
152
+ *.csh g:filetype_csh | ft-csh-syntax |
152
153
*.dat g:filetype_dat
153
154
*.frm g:filetype_frm | ft-form-syntax |
154
155
*.fs g:filetype_fs | ft-forth-syntax |
@@ -160,7 +161,10 @@ NOTE: Vi互換とは全てのオプションがグローバルであることを
160
161
*.pl g:filetype_pl
161
162
*.pp g:filetype_pp | ft-pascal-syntax |
162
163
*.prg g:filetype_prg
164
+ *.r g:filetype_r
165
+ *.sql g:filetype_sql | ft-sql-syntax |
163
166
*.src g:filetype_src
167
+ *.sys g:filetype_sys
164
168
*.sh g:bash_is_sh | ft-sh-syntax |
165
169
*.tex g:tex_flavor | ft-tex-plugin |
166
170
*.w g:filetype_w | ft-cweb-syntax |
Original file line number Diff line number Diff line change 1
- *map.txt* For Vim バージョン 8.2. Last change: 2022 Apr 03
1
+ *map.txt* For Vim バージョン 8.2. Last change: 2022 Apr 14
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1306,9 +1306,10 @@ non-id マッチした場所の前がスペース、タブ、行頭、挿入
1306
1306
これは "<SNR> 23_Add" といったマップを定義します。
1307
1307
1308
1308
スクリプトで関数を作成するときに、関数名の前に "s:" を付けると、ローカル関数を
1309
- 作成できます。しかし、その関数をマップで使用する場合、そのマップをスクリプト以
1310
- 外の場所で実行すると、その関数がどのスクリプトで定義されたのか分かりません。こ
1311
- れを解決するには、マップ中で "s:" ではなく "<SID> " を使用します。この場合も
1309
+ 作成できます(| Vim9 | script ではプリフィックスなしの関数はスクリプトローカルに
1310
+ なります)。しかし、その関数をマップで使用する場合、そのマップをスクリプト以外
1311
+ の場所で実行すると、その関数がどのスクリプトで定義されたのか分かりません。これ
1312
+ を解決するには、マップ中で "s:" ではなく "<SID> " を使用します。この場合も
1312
1313
"<SID> " は上記の例と同じように置換されます。これでローカル関数の呼び出しを含む
1313
1314
マップを定義できます。
1314
1315
Original file line number Diff line number Diff line change 1
- *syntax.txt* For Vim バージョン 8.2. Last change: 2022 Apr 06
1
+ *syntax.txt* For Vim バージョン 8.2. Last change: 2022 Apr 24
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -2120,6 +2120,15 @@ V release 4で供給される標準的なパッケージセットの関数がユ
2120
2120
mv_finance mv_logic mv_powseries
2121
2121
2122
2122
2123
+ MARKDOWN *ft-markdown-syntax*
2124
+
2125
+ 長い領域がある場合、間違ったハイライトがおこなわれる可能性がある。表示を遅くす
2126
+ る代償として、エンジンに領域の開始を同期するためにもっと後方を見るようにするこ
2127
+ とができる。500行の例: >
2128
+
2129
+ :let g:markdown_minlines = 500
2130
+
2131
+
2123
2132
MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*
2124
2133
2125
2134
次を .vimrc に書いておかないかぎり、空の *.m ファイルは自動的に Matlab のファ
Original file line number Diff line number Diff line change 1
- *filetype.txt* For Vim version 8.2. Last change: 2022 Apr 07
1
+ *filetype.txt* For Vim version 8.2. Last change: 2022 Apr 09
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -143,6 +143,7 @@ variables can be used to overrule the filetype used for certain extensions:
143
143
*.asp g:filetype_asp | ft-aspvbs-syntax | | ft-aspperl-syntax |
144
144
*.bas g:filetype_bas | ft-basic-syntax |
145
145
*.cfg g:filetype_cfg
146
+ *.csh g:filetype_csh | ft-csh-syntax |
146
147
*.dat g:filetype_dat
147
148
*.frm g:filetype_frm | ft-form-syntax |
148
149
*.fs g:filetype_fs | ft-forth-syntax |
@@ -154,7 +155,10 @@ variables can be used to overrule the filetype used for certain extensions:
154
155
*.pl g:filetype_pl
155
156
*.pp g:filetype_pp | ft-pascal-syntax |
156
157
*.prg g:filetype_prg
158
+ *.r g:filetype_r
159
+ *.sql g:filetype_sql | ft-sql-syntax |
157
160
*.src g:filetype_src
161
+ *.sys g:filetype_sys
158
162
*.sh g:bash_is_sh | ft-sh-syntax |
159
163
*.tex g:tex_flavor | ft-tex-plugin |
160
164
*.w g:filetype_w | ft-cweb-syntax |
Original file line number Diff line number Diff line change 1
- *map.txt* For Vim version 8.2. Last change: 2022 Apr 03
1
+ *map.txt* For Vim version 8.2. Last change: 2022 Apr 14
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1324,7 +1324,8 @@ underscore. Example: >
1324
1324
could define a mapping "<SNR> 23_Add".
1325
1325
1326
1326
When defining a function in a script, "s:" can be prepended to the name to
1327
- make it local to the script. But when a mapping is executed from outside of
1327
+ make it local to the script (in | Vim9 | script functions without a prefix are
1328
+ local to the script). But when a mapping is executed from outside of
1328
1329
the script, it doesn't know in which script the function was defined. To
1329
1330
avoid this problem, use "<SID> " instead of "s:". The same translation is done
1330
1331
as for mappings. This makes it possible to define a call to the function in
Original file line number Diff line number Diff line change 1
- *syntax.txt* For Vim version 8.2. Last change: 2022 Apr 06
1
+ *syntax.txt* For Vim version 8.2. Last change: 2022 Apr 24
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -215,7 +215,7 @@ A syntax group name doesn't specify any color or attributes itself.
215
215
216
216
The name for a highlight or syntax group must consist of ASCII letters, digits
217
217
and the underscore. As a regexp: "[a-zA-Z0-9_]*". However, Vim does not give
218
- an error when using other characters. The maxium length of a group name is
218
+ an error when using other characters. The maximum length of a group name is
219
219
about 200 bytes. *E1249*
220
220
221
221
To be able to allow each user to pick their favorite set of colors, there must
@@ -2197,6 +2197,15 @@ $VIMRUNTIME/syntax/syntax.vim).
2197
2197
mv_finance mv_logic mv_powseries
2198
2198
2199
2199
2200
+ MARKDOWN *ft-markdown-syntax*
2201
+
2202
+ If you have long regions there might be wrong highlighting. At the cost of
2203
+ slowing down displaying, you can have the engine look further back to sync on
2204
+ the start of a region, for example 500 lines: >
2205
+
2206
+ :let g:markdown_minlines = 500
2207
+
2208
+
2200
2209
MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*
2201
2210
2202
2211
Empty *.m files will automatically be presumed to be Matlab files unless you
You can’t perform that action at this time.
0 commit comments