File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed 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
@@ -155,6 +155,7 @@ variables can be used to overrule the filetype used for certain extensions:
155
155
*.pp g:filetype_pp | ft-pascal-syntax |
156
156
*.prg g:filetype_prg
157
157
*.src g:filetype_src
158
+ *.sys g:filetype_sys
158
159
*.sh g:bash_is_sh | ft-sh-syntax |
159
160
*.tex g:tex_flavor | ft-tex-plugin |
160
161
*.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 @@ -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
You can’t perform that action at this time.
0 commit comments