cpp: Highlight sized type specifiers as keywords (#12751)
Without this, `unsigned` or `unsigned int` is not highlighted properly: `int` is a primitive_type but `unsigned` is a sized_type_specifier. This is already handled in C as both are part of @type highlight group. Before:  After:  Release Notes: - N/A
This commit is contained in:
parent
953393f6ce
commit
87845a349d
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
|||
"volatile"
|
||||
"while"
|
||||
(primitive_type)
|
||||
(sized_type_specifier)
|
||||
(type_qualifier)
|
||||
] @keyword
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue