aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorYorick Peterse <yorick@yorickpeterse.com>2025-02-21 21:21:06 +0100
committerChristian Clason <ch.clason+github@icloud.com>2025-02-21 21:37:27 +0100
commitd0ba96c3dc5b8c040412ee366cf7c596ae430416 (patch)
treeeff5c046be59928188e3dc1d68962d8103608be1 /queries
parentfeat(liquid): capture `(front_matter)` and inject `yaml` (#7672) (diff)
downloadnvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.tar
nvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.tar.gz
nvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.tar.bz2
nvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.tar.lz
nvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.tar.xz
nvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.tar.zst
nvim-treesitter-d0ba96c3dc5b8c040412ee366cf7c596ae430416.zip
feat(inko): add support for "for" loops
These will be introduced as part of the 0.19.0 release. This commit updates the lockfile as well as the relevant queries to accommodate the new expression and "in" now being a keyword.
Diffstat (limited to 'queries')
-rw-r--r--queries/inko/folds.scm1
-rw-r--r--queries/inko/highlights.scm1
2 files changed, 2 insertions, 0 deletions
diff --git a/queries/inko/folds.scm b/queries/inko/folds.scm
index b0fbc064e..6ec1f5ba4 100644
--- a/queries/inko/folds.scm
+++ b/queries/inko/folds.scm
@@ -7,6 +7,7 @@
(define_field)
(define_variable)
(external_function)
+ (for)
(if)
(import)+
(loop)
diff --git a/queries/inko/highlights.scm b/queries/inko/highlights.scm
index 8f25cd798..989bdb9e8 100644
--- a/queries/inko/highlights.scm
+++ b/queries/inko/highlights.scm
@@ -56,6 +56,7 @@
"copy"
"for"
"impl"
+ "in"
"inline"
"let"
"move"