mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(c): primitive type as builtin
This commit is contained in:
parent
768532453a
commit
4b99343d6e
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue