|
1 |
| -*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 22 |
| 1 | +*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 31 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar
|
@@ -179,8 +179,7 @@ add a few items or change the highlighting, follow these steps:
|
179 | 179 | 1. Create your user directory from 'runtimepath', see above.
|
180 | 180 |
|
181 | 181 | 2. Create a directory in there called "after/syntax". For Unix: >
|
182 |
| - mkdir ~/.vim/after |
183 |
| - mkdir ~/.vim/after/syntax |
| 182 | + mkdir -p ~/.vim/after/syntax |
184 | 183 |
|
185 | 184 | 3. Write a Vim script that contains the commands you want to use. For
|
186 | 185 | example, to change the colors for the C syntax: >
|
@@ -2164,6 +2163,22 @@ This will make the syntax synchronization start 50 lines before the first
|
2164 | 2163 | displayed line. The default value is 10. The disadvantage of using a larger
|
2165 | 2164 | number is that redrawing can become slow.
|
2166 | 2165 |
|
| 2166 | +Significant changes to the Java platform are gradually introduced in the form |
| 2167 | +of JDK Enhancement Proposals (JEPs) that can be implemented for a release and |
| 2168 | +offered as its preview features. It may take several JEPs and a few release |
| 2169 | +cycles for such a feature to become either integrated into the platform or |
| 2170 | +withdrawn from this effort. To cater for early adopters, there is optional |
| 2171 | +support in Vim for syntax related preview features that are implemented. You |
| 2172 | +can request it by specifying a list of preview feature numbers as follows: > |
| 2173 | + :let g:java_syntax_previews = [430] |
| 2174 | +
|
| 2175 | +The supported JEP numbers are to be drawn from this table: |
| 2176 | + `430`: String Templates [JDK 21] |
| 2177 | + |
| 2178 | +Note that as soon as the particular preview feature will have been integrated |
| 2179 | +into the Java platform, its entry will be removed from the table and related |
| 2180 | +optionality will be discontinued. |
| 2181 | + |
2167 | 2182 |
|
2168 | 2183 | JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal*
|
2169 | 2184 | *g:vim_json_warnings*
|
|
0 commit comments