aboutsummaryrefslogtreecommitdiffstats
path: root/queries/smithy
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-04-23 12:23:15 -0700
committerChristian Clason <c.clason@uni-graz.at>2024-05-01 09:59:50 +0200
commitf58cae6c228e26681039253cb172de16cd764408 (patch)
tree5dab18e7bf7eb9fcecc99f543a7b3c6e776291d5 /queries/smithy
parentbot(lockfile): update angular, cpp, djot, html, json5, mlir, python, solidity... (diff)
downloadnvim-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/smithy')
-rw-r--r--queries/smithy/highlights.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/queries/smithy/highlights.scm b/queries/smithy/highlights.scm
index 1d0321864..24389281a 100644
--- a/queries/smithy/highlights.scm
+++ b/queries/smithy/highlights.scm
@@ -16,7 +16,13 @@
"list"
"map"
"set"
-] @type.builtin
+ "structure"
+ "union"
+ "namespace"
+ "service"
+ "operation"
+ "resource"
+] @keyword.type
; Fields (Members)
; (field) @variable.member
@@ -57,12 +63,6 @@
; Keywords
[
- "namespace"
- "service"
- "structure"
- "operation"
- "union"
- "resource"
"metadata"
"apply"
"for"