aboutsummaryrefslogtreecommitdiffstats
path: root/queries/tlaplus
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/tlaplus
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/tlaplus')
-rw-r--r--queries/tlaplus/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/tlaplus/highlights.scm b/queries/tlaplus/highlights.scm
index a94a91f4e..2199359f8 100644
--- a/queries/tlaplus/highlights.scm
+++ b/queries/tlaplus/highlights.scm
@@ -81,7 +81,6 @@
(pcal_algorithm_start)
"algorithm"
"assert"
- "await"
"begin"
"call"
"define"
@@ -98,6 +97,9 @@
"when"
"with"
] @keyword
+[
+ "await"
+] @keyword.coroutine
(pcal_with ("=") @keyword)
(pcal_process ("=") @keyword)
[