feat: more @keyword.type captures

This commit is contained in:
Riley Bruins 2024-04-23 12:23:15 -07:00 committed by Christian Clason
parent f0a1a13316
commit f58cae6c22
74 changed files with 395 additions and 239 deletions

View file

@ -153,24 +153,24 @@
; Types
(record_declaration
.
"record" @keyword
"record" @keyword.type
name: (identifier) @type)
(anon_record
.
"record" @keyword)
"record" @keyword.type)
(record_body
(record_declaration
.
"record" @keyword
"record" @keyword.type
.
name: (identifier) @type))
(record_body
(enum_declaration
.
"enum" @keyword
"enum" @keyword.type
.
name: (identifier) @type))
@ -191,7 +191,7 @@
(userdata) @keyword)
(enum_declaration
"enum" @keyword
"enum" @keyword.type
name: (identifier) @type)
(type_declaration