Mercurial > vim
annotate runtime/syntax/testdir/dumps/java_switch_05.dump @ 36258:4e190eb5f0ad draft
runtime(vim): Update base-syntax file, improve class, enum and interface highlighting
Commit: https://github.com/vim/vim/commit/818c641b6fac73b574a2b760213f515cee9a3c8e
Author: Doug Kearns <dougkearns@gmail.com>
Date: Sun Oct 6 17:00:48 2024 +0200
runtime(vim): Update base-syntax file, improve class, enum and interface highlighting
- Enable folding of class, enum and interface declarations.
- Highlight constructor names with the Function highlight group, like
other special methods.
- Mark function definitions using special method names as errors.
- Highlight :type arguments.
fixes: #14393#issuecomment-2042796198.
closes: #13810
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 06 Oct 2024 17:15:04 +0200 |
parents | c020fc9af07f |
children |
rev | line source |
---|---|
35554
7633f991b4d3
runtime(syntax-tests): Allow for folded and wrapped lines in syntax test files
Christian Brabandt <cb@256bit.org>
parents:
34445
diff
changeset
|
1 | +0&#ffffff0@7|d+0#af5f00255&|e|f|a|u|l|t|:+0#0000000&| @7|{| |e|c|h|o|(@1|b+0#00e0003&|y|t|e|)+0#0000000&| |-|1+0#e000002&|)+0#0000000&|;| |b+0#af5f00255&|r|e|a|k|;+0#0000000&| |}| @23 |
35781
c020fc9af07f
runtime(java): Optionally highlight the :: token for method references
Christian Brabandt <cb@256bit.org>
parents:
35554
diff
changeset
|
2 @8|}| @65 |
34445
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 @75 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 @8|e|c|h|o|(|s+0#af5f00255&|w|i|t|c|h| +0#0000000&|(|b|)| |{| @49 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 @12|c+0#af5f00255&|a|s|e| +0#0000000&|(@1|b+0#00e0003&|y|t|e|)+0#0000000&| |0+0#e000002&|)+0#0000000&| |-|>| |(|b+0#00e0003&|y|t|e|)+0#0000000&| |0+0#e000002&|;+0#0000000&| @34 |
35554
7633f991b4d3
runtime(syntax-tests): Allow for folded and wrapped lines in syntax test files
Christian Brabandt <cb@256bit.org>
parents:
34445
diff
changeset
|
6 @12>c+0#af5f00255&|a|s|e| +0#0000000&|(@1|b+0#00e0003&|y|t|e|)+0#0000000&| |1+0#e000002&|)+0#0000000&| |-|>| |(|b+0#00e0003&|y|t|e|)+0#0000000&| |1+0#e000002&|;+0#0000000&| @34 |
7633f991b4d3
runtime(syntax-tests): Allow for folded and wrapped lines in syntax test files
Christian Brabandt <cb@256bit.org>
parents:
34445
diff
changeset
|
7 @12|d+0#af5f00255&|e|f|a|u|l|t| +0#0000000&@4|-|>| |(|b+0#00e0003&|y|t|e|)+0#0000000&| |-|1+0#e000002&|;+0#0000000&| @37 |
34445
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 @8|}|)|;| @63 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 @75 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 @8|s+0#00e0003&|h|o|r|t| +0#0000000&|s|h| |=| |(|s+0#00e0003&|h|o|r|t|)+0#0000000&| |2+0#e000002&|;+0#0000000&| @45 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 @75 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
12 @8|s+0#af5f00255&|w|i|t|c|h| +0#0000000&|(|s|h|)| |{| @53 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
13 @8|c+0#af5f00255&|a|s|e| +0#0000000&|(@1|s+0#00e0003&|h|o|r|t|)+0#0000000&| |0+0#e000002&|)+0#0000000&|:| @2|{| |e|c|h|o|(@1|s+0#00e0003&|h|o|r|t|)+0#0000000&| |0+0#e000002&|)+0#0000000&|;| |b+0#af5f00255&|r|e|a|k|;+0#0000000&| |}| @19 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
14 @8|c+0#af5f00255&|a|s|e| +0#0000000&|(@1|s+0#00e0003&|h|o|r|t|)+0#0000000&| |1+0#e000002&|)+0#0000000&|:| @2|{| |e|c|h|o|(@1|s+0#00e0003&|h|o|r|t|)+0#0000000&| |1+0#e000002&|)+0#0000000&|;| |b+0#af5f00255&|r|e|a|k|;+0#0000000&| |}| @19 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
15 @8|d+0#af5f00255&|e|f|a|u|l|t|:+0#0000000&| @7|{| |e|c|h|o|(@1|s+0#00e0003&|h|o|r|t|)+0#0000000&| |-|1+0#e000002&|)+0#0000000&|;| |b+0#af5f00255&|r|e|a|k|;+0#0000000&| |}| @22 |
35781
c020fc9af07f
runtime(java): Optionally highlight the :: token for method references
Christian Brabandt <cb@256bit.org>
parents:
35554
diff
changeset
|
16 @8|}| @65 |
34445
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 @75 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 @8|e|c|h|o|(|s+0#af5f00255&|w|i|t|c|h| +0#0000000&|(|s|h|)| |{| @48 |
5609b011fd70
runtime(java): Recognise _when_ clauses in _switch_ blocks
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 @12|c+0#af5f00255&|a|s|e| +0#0000000&|(@1|s+0#00e0003&|h|o|r|t|)+0#0000000&| |0+0#e000002&|)+0#0000000&| @3|-|>| |(|s+0#00e0003&|h|o|r|t|)+0#0000000&| |0+0#e000002&|;+0#0000000&| @29 |
35554
7633f991b4d3
runtime(syntax-tests): Allow for folded and wrapped lines in syntax test files
Christian Brabandt <cb@256bit.org>
parents:
34445
diff
changeset
|
20 @57|9|0|,|4|-|1|3| @6|8|1|%| |