aboutsummaryrefslogtreecommitdiffstats
path: root/queries/thrift
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-02-24 06:37:45 -0500
committerStephan Seitz <stephan.seitz@fau.de>2023-03-03 07:07:52 -0800
commit33ba346e60c3151fcdafc55d0e547556dc803c03 (patch)
treed1c5467293ca8fe4b0f44f05f4d4aa303877a2f8 /queries/thrift
parentdocs: add `@keyword.coroutine` (diff)
downloadnvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar
nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.gz
nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.bz2
nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.lz
nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.xz
nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.tar.zst
nvim-treesitter-33ba346e60c3151fcdafc55d0e547556dc803c03.zip
feat!: add `@keyword.coroutine` capture
Diffstat (limited to 'queries/thrift')
-rw-r--r--queries/thrift/highlights.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/queries/thrift/highlights.scm b/queries/thrift/highlights.scm
index c6ff6464f..5df609c3d 100644
--- a/queries/thrift/highlights.scm
+++ b/queries/thrift/highlights.scm
@@ -86,7 +86,6 @@
"include"
"interaction"
"namespace"
- "oneway"
"optional"
"required"
"senum"
@@ -96,10 +95,13 @@
"union"
] @keyword
+[
+ "oneway"
+] @keyword.coroutine
+
; Deprecated Keywords
[
- "async"
"cocoa_prefix"
"cpp_namespace"
"csharp_namespace"
@@ -118,7 +120,12 @@
"xsd_optional"
] @keyword
+[
+ "async"
+] @keyword.coroutine
+
; Extended Keywords
+
[
"client"
"idempotent"