aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--lockfile.json2
-rw-r--r--queries/inko/folds.scm1
-rw-r--r--queries/inko/highlights.scm1
3 files changed, 3 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json
index 8ea144155..109e82861 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -363,7 +363,7 @@
"revision": "962568c9efa71d25720ab42c5d36e222626ef3a6"
},
"inko": {
- "revision": "4d057a5c24d715b211c3c82de2526f041b4af66f"
+ "revision": "f58a87ac4dc6a7955c64c9e4408fbd693e804686"
},
"ipkg": {
"revision": "8d3e9782f2d091d0cd39c13bfb3068db0c675960"
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"