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
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2067,13 +2067,8 @@ old way, put the following line into your Vim startup file: >
20672067 All (exported) public types declared in `java.lang` are always automatically
20682068imported and available as simple names. To highlight them, use: >
20692069 :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 | .
20772072
20782073Headers of indented function declarations can be highlighted (along with parts
20792074of 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:
22262221Note that as soon as the particular preview feature will have been integrated
22272222into the Java platform, its entry will be removed from the table and related
22282223optionality 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
22302226
22312227JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal*
22322228 *g:vim_json_warnings*
@@ -3106,7 +3102,7 @@ PRINTCAP + TERMCAP *ft-ptcap-syntax* *ft-termcap-syntax*
31063102This syntax file applies to the printcap and termcap databases.
31073103
31083104In 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
31103106appropriate to your system in your | myfiletypefile | file. For these
31113107patterns, you must set the variable "b:ptcap_type" to either "print" or
31123108"term", and then the 'filetype' option to ptcap.
@@ -3553,6 +3549,10 @@ variables in your <.vimrc>:
35533549< sh: Bourne shell >
35543550 let g:is_sh = 1
35553551
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+
35563556If there's no "#! ..." line, and the user hasn't availed himself/herself of a
35573557default sh.vim syntax setting as just shown, then syntax/sh.vim will assume
35583558the 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: >
39963996
39973997 VIM *vim.vim* *ft-vim-syntax*
39983998 *g:vimsyn_minlines* *g:vimsyn_maxlines*
3999+
39994000There is a trade-off between more accurate syntax highlighting versus screen
40004001updating speed. To improve accuracy, you may wish to increase the
40014002g:vimsyn_minlines variable. The g:vimsyn_maxlines variable may be used to
@@ -4019,10 +4020,9 @@ embedded script highlighting they wish to have. >
40194020 g:vimsyn_embed =~ 'r' : support embedded Ruby
40204021 g:vimsyn_embed =~ 't' : support embedded Tcl
40214022<
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+
40264026 *g:vimsyn_folding*
40274027Some folding is now supported with when 'foldmethod' is set to "syntax": >
40284028
@@ -4031,15 +4031,15 @@ Some folding is now supported with when 'foldmethod' is set to "syntax": >
40314031 g:vimsyn_folding =~ 'c' : fold Vim9 classes
40324032 g:vimsyn_folding =~ 'e' : fold Vim9 enums
40334033 g:vimsyn_folding =~ 'f' : fold functions
4034- g:vimsyn_folding =~ 'h' : fold heredocs
4034+ g:vimsyn_folding =~ 'h' : fold let heredocs
40354035 g:vimsyn_folding =~ 'i' : fold Vim9 interfaces
40364036 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
40434043<
40444044
40454045By default, g:vimsyn_folding is unset. Concatenate the indicated characters
@@ -5991,6 +5991,12 @@ TabLine Tab pages line, not active tab page label.
59915991TabLineFill Tab pages line, where there are no labels.
59925992 *hl-TabLineSel*
59935993TabLineSel 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.
59946000 *hl-Terminal*
59956001Terminal | terminal | window (see | terminal-size-color | ).
59966002 *hl-Title*
0 commit comments