1
- *syntax.txt* For Vim version 9.1. Last change: 2025 Apr 28
1
+ *syntax.txt* For Vim version 9.1. Last change: 2025 Jun 03
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2067,13 +2067,8 @@ old way, put the following line into your Vim startup file: >
2067
2067
All (exported) public types declared in `java.lang` are always automatically
2068
2068
imported and available as simple names. To highlight them, use: >
2069
2069
:let g:java_highlight_java_lang_ids = 1
2070
-
2071
- You can also highlight types of most standard Java packages if you download
2072
- the javaid.vim script at http://www.fleiner.com/vim/download.html . If you
2073
- prefer to only highlight types of a certain package, say `java.io` , use the
2074
- following: >
2075
- :let g:java_highlight_java_io = 1
2076
- Check the javaid.vim file for a list of all the packages that are supported.
2070
+ You can also generate syntax items for other public and protected types and
2071
+ opt in to highlight some of their names; see | java-package-info-url | .
2077
2072
2078
2073
Headers of indented function declarations can be highlighted (along with parts
2079
2074
of lambda expressions and method reference expressions), but it depends on how
@@ -2226,7 +2221,8 @@ The supported JEP numbers are to be drawn from this table:
2226
2221
Note that as soon as the particular preview feature will have been integrated
2227
2222
into the Java platform, its entry will be removed from the table and related
2228
2223
optionality will be discontinued.
2229
-
2224
+ *java-package-info-url*
2225
+ https://github.com/zzzyxwvut/java-vim/blob/master/tools/javaid/src/javaid/package-info.java
2230
2226
2231
2227
JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal*
2232
2228
*g:vim_json_warnings*
@@ -3106,7 +3102,7 @@ PRINTCAP + TERMCAP *ft-ptcap-syntax* *ft-termcap-syntax*
3106
3102
This syntax file applies to the printcap and termcap databases.
3107
3103
3108
3104
In order for Vim to recognize printcap/termcap files that do not match
3109
- the patterns *printcap*, or *termcap*, you must put additional patterns
3105
+ the patterns " *printcap*" , or " *termcap*" , you must put additional patterns
3110
3106
appropriate to your system in your | myfiletypefile | file. For these
3111
3107
patterns, you must set the variable "b:ptcap_type" to either "print" or
3112
3108
"term", and then the 'filetype' option to ptcap.
@@ -3553,6 +3549,10 @@ variables in your <.vimrc>:
3553
3549
< sh: Bourne shell >
3554
3550
let g:is_sh = 1
3555
3551
3552
+ Specific shell features are automatically enabled based on the shell detected
3553
+ from the shebang line ("#! ..."). For KornShell Vim detects different shell
3554
+ features for mksh, ksh88, ksh93, ksh93u, ksh93v, and ksh2020.
3555
+
3556
3556
If there's no "#! ..." line, and the user hasn't availed himself/herself of a
3557
3557
default sh.vim syntax setting as just shown, then syntax/sh.vim will assume
3558
3558
the POSIX shell syntax. No need to quote RFCs or market penetration
@@ -3996,6 +3996,7 @@ names whose syntax definitions will be included in Typst files. Example: >
3996
3996
3997
3997
VIM *vim.vim* *ft-vim-syntax*
3998
3998
*g:vimsyn_minlines* *g:vimsyn_maxlines*
3999
+
3999
4000
There is a trade-off between more accurate syntax highlighting versus screen
4000
4001
updating speed. To improve accuracy, you may wish to increase the
4001
4002
g:vimsyn_minlines variable. The g:vimsyn_maxlines variable may be used to
@@ -4019,10 +4020,9 @@ embedded script highlighting they wish to have. >
4019
4020
g:vimsyn_embed =~ 'r' : support embedded Ruby
4020
4021
g:vimsyn_embed =~ 't' : support embedded Tcl
4021
4022
<
4022
- By default, g:vimsyn_embed is a string supporting interpreters that your vim
4023
- itself supports. Concatenate the indicated characters to support multiple
4024
- types of embedded interpreters (e.g., g:vimsyn_embed = "mp" supports embedded
4025
- mzscheme and embedded perl).
4023
+ By default, g:vimsyn_embed is unset, and the Lua and Python script interfaces
4024
+ are supported.
4025
+
4026
4026
*g:vimsyn_folding*
4027
4027
Some folding is now supported with when 'foldmethod' is set to "syntax": >
4028
4028
@@ -4031,15 +4031,15 @@ Some folding is now supported with when 'foldmethod' is set to "syntax": >
4031
4031
g:vimsyn_folding =~ 'c' : fold Vim9 classes
4032
4032
g:vimsyn_folding =~ 'e' : fold Vim9 enums
4033
4033
g:vimsyn_folding =~ 'f' : fold functions
4034
- g:vimsyn_folding =~ 'h' : fold heredocs
4034
+ g:vimsyn_folding =~ 'h' : fold let heredocs
4035
4035
g:vimsyn_folding =~ 'i' : fold Vim9 interfaces
4036
4036
g:vimsyn_folding =~ 'H' : fold Vim9 legacy headers
4037
- g:vimsyn_folding =~ 'l' : fold Lua script
4038
- g:vimsyn_folding =~ 'm' : fold MzScheme script
4039
- g:vimsyn_folding =~ 'p' : fold Perl script
4040
- g:vimsyn_folding =~ 'P' : fold Python script
4041
- g:vimsyn_folding =~ 'r' : fold Ruby script
4042
- g:vimsyn_folding =~ 't' : fold Tcl script
4037
+ g:vimsyn_folding =~ 'l' : fold Lua heredocs
4038
+ g:vimsyn_folding =~ 'm' : fold MzScheme heredocs
4039
+ g:vimsyn_folding =~ 'p' : fold Perl heredocs
4040
+ g:vimsyn_folding =~ 'P' : fold Python heredocs
4041
+ g:vimsyn_folding =~ 'r' : fold Ruby heredocs
4042
+ g:vimsyn_folding =~ 't' : fold Tcl heredocs
4043
4043
<
4044
4044
4045
4045
By default, g:vimsyn_folding is unset. Concatenate the indicated characters
@@ -5991,6 +5991,12 @@ TabLine Tab pages line, not active tab page label.
5991
5991
TabLineFill Tab pages line, where there are no labels.
5992
5992
*hl-TabLineSel*
5993
5993
TabLineSel Tab pages line, active tab page label.
5994
+ *hl-TabPanel*
5995
+ TabPanel TabPanel, not active tab page label.
5996
+ *hl-TabPanelFill*
5997
+ TabPanelFill TabPanel, where there are no labels.
5998
+ *hl-TabPanelSel*
5999
+ TabPanelSel TabPanel, active tab page label.
5994
6000
*hl-Terminal*
5995
6001
Terminal | terminal | window (see | terminal-size-color | ).
5996
6002
*hl-Title*
0 commit comments