highlights(c): primitive type as builtin

This commit is contained in:
Aaron Rancsik 2022-11-28 00:17:52 +01:00 committed by Stephan Seitz
parent 768532453a
commit 4b99343d6e

View file

@ -130,7 +130,6 @@
[
(type_identifier)
(primitive_type)
(sized_type_specifier)
(type_descriptor)
] @type
@ -142,6 +141,8 @@
(type_definition
declarator: (type_identifier) @type.definition)
(primitive_type) @type.builtin
((identifier) @constant
(#lua-match? @constant "^[A-Z][A-Z0-9_]+$"))
(enumerator