Skip to content

Commit f0a9213

Browse files
committed
Add new semantic token types
The `decorator` type was introduced in LSP 1.17. The `concept` type is used by clangd.
1 parent 4556062 commit f0a9213

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ycm/semantic_highlighting.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@
5050
'number': 'Number',
5151
'regexp': 'String',
5252
'operator': 'Operator',
53+
'decorator': 'Comment',
5354
'unknown': 'Normal',
5455

5556
# These are not part of the spec, but are used by clangd
5657
'bracket': 'Normal',
58+
'concept': 'Normal',
5759
# These are not part of the spec, but are used by jdt.ls
5860
'annotation': 'Macro',
5961
}

0 commit comments

Comments
 (0)