diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-04-23 12:23:15 -0700 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-05-01 09:59:50 +0200 |
| commit | f58cae6c228e26681039253cb172de16cd764408 (patch) | |
| tree | 5dab18e7bf7eb9fcecc99f543a7b3c6e776291d5 /queries/teal | |
| parent | bot(lockfile): update angular, cpp, djot, html, json5, mlir, python, solidity... (diff) | |
| download | nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.gz nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.bz2 nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.lz nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.xz nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.tar.zst nvim-treesitter-f58cae6c228e26681039253cb172de16cd764408.zip | |
feat: more `@keyword.type` captures
Diffstat (limited to 'queries/teal')
| -rw-r--r-- | queries/teal/highlights.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/queries/teal/highlights.scm b/queries/teal/highlights.scm index ec80ead0f..e58d588bb 100644 --- a/queries/teal/highlights.scm +++ b/queries/teal/highlights.scm @@ -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 |
