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:
@@ -91,6 +91,7 @@
|
||||
"volatile"
|
||||
"while"
|
||||
(primitive_type)
|
||||
(sized_type_specifier)
|
||||
(type_qualifier)
|
||||
] @keyword
|
||||
|
||||
|
||||
Reference in New Issue
Block a user