Commit graph

7 commits

Author SHA1 Message Date
Yorick Peterse
3ab4f2d2d2 feat(inko): update parser for let pattern matching
Commit 9d7ed4 of the Inko tree-sitter grammar introduces support for
pattern matching in `let` expressions. This requires some corresponding
changes to the "local" queries to correctly define local variables. This
is done by simply defining locals for all "identifier_pattern" nodes,
instead of only doing this for "define_variable" nodes.
2025-10-07 10:00:15 +02:00
Yorick Peterse
b684696315 feat(inko): update parser and highlights
This commit includes syntax support for a few new syntax elements, and
updates the highlights queries to highlight two new expression keywords.
2025-10-03 15:18:41 +02:00
Riley Bruins
77362027f7
fix: remove redundant alternants (#8159) 2025-09-28 18:39:09 -07:00
Christian Clason
9176343647 feat(inko)!: update parser and queries
Breaking change: `(array_pattern)` rule and node was removed again.
2025-09-28 12:06:59 +02:00
Yorick Peterse
44e90ec66e feat(inko): add support for array patterns
This updates the version of the Inko parser to the latest version and
includes indent support for the new array pattern node.
2025-08-21 19:51:10 +02:00
Yorick Peterse
d08cf75e1b feat(inko): add scoping to the locals queries
This way tooling that makes use of these queries (e.g. snacks.nvim) is
aware of the scoping of Inko types and methods.
2025-05-22 07:47:03 +02:00
Christian Clason
692b051b09 feat!: drop modules, general refactor and cleanup 2025-05-12 18:43:40 +02:00