mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
As this is encouraged in the referenced JEPs, "to visually distinguish a string template from a string literal, and a text block template from a text block", the default colours for java\%[Debug]StrTempl are made distinct from java\%[Debug]String. According to §3.2 Lexical Translations (JLS, c. 1996 or any more recent version), line terminators, white space, and comments are discarded before tokens are accepted. Since a template expression comprises a template processor, a dot, and a template, it may be visually appealing to break up its head across a few lines whenever its tail already spans multiple lines. Curiously, no allowance for it is made in the distributed tests for OpenJDK 21; the proposed regexp patterns take in consideration a line terminator and white space after a dot. References: https://openjdk.org/jeps/430 (Preview) https://openjdk.org/jeps/459 (Second Preview) https://openjdk.org/jeps/465 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
>c+0#00e0003#ffffff0|l|a|s@1| +0#0000000&|S|t|r|i|n|g|T|e|s|t|s| @2|/+0#0000e05&@1| |J|D|K| |2|1|+| |(|-@1|e|n|a|b|l|e|-|p|r|e|v|i|e|w| |-@1|r|e|l|e|a|s|e| |2|1|)|.| +0#0000000&@11
|
|
|{| @73
|
|
@4|s+0#00e0003&|t|a|t|i|c| +0#0000000&|{| @62
|
|
@8|S|t|r|i|n|g| |s|1| |=| |"+0#e000002&|A| |q|u|i|c|k| |b|r|o|w|n| |f|o|x| |j|u|m|p|s| |o|v|e|r| |t|h|e| |l|a|z|y| |d|o|g|"|;+0#0000000&| @10
|
|
@8|S|t|r|i|n|g| |s|2| |=| |"+0#e000002&|\+0#e000e06&|"|W+0#e000002&|o@1|f|\+0#e000e06&|s|!+0#e000002&|\+0#e000e06&|"|"+0#e000002&|;+0#0000000&| @40
|
|
@8|S|t|r|i|n|g| |s|3| |=| |"@2| @51
|
|
| +0#e000002&@11|A|\+0#e000e06&|s|\+0#e000002&| +0#0000000&@58
|
|
| +0#e000002&@11|q|u|i|c|k| |\| +0#0000000&@55
|
|
| +0#e000002&@11|b|r|o|w|n|\+0#e000e06&|s|\+0#e000002&| +0#0000000&@54
|
|
| +0#e000002&@11|f|o|x| |\| +0#0000000&@57
|
|
| +0#e000002&@11|j|u|m|p|s|\+0#e000e06&|s|\+0#e000002&| +0#0000000&@54
|
|
| +0#e000002&@11|o|v|e|r| |\| +0#0000000&@56
|
|
| +0#e000002&@11|t|h|e|\+0#e000e06&|s|\+0#e000002&| +0#0000000&@56
|
|
| +0#e000002&@11|l|a|z|y| |\| +0#0000000&@56
|
|
| +0#e000002&@11|d|o|g|"+0#0000000&@2|;| @55
|
|
@8|S|t|r|i|n|g| |s|4| |=| |"@2| @51
|
|
| +0#e000002&@11|"|W|o@1|f|\+0#e000e06&|s|!+0#e000002&|\+0#e000e06&|"|"+0#0000000&@2|;| @48
|
|
@8|S|t|r|i|n|g| |s|5| |=| |"@2| @51
|
|
| +0#e000002&@7|S|t|r|i|n|g| |s|3| |=| |\+0#e000e06&|"|"+0#e000002&@1| +0#0000000&@50
|
|
@57|1|,|1| @10|T|o|p|
|