From bd99d6bd2bdd346c5da090db5e3956de0e0a2f3f Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 21 Sep 2025 10:38:22 +0200 Subject: feat(koto)!: update parser and queries Breaking changes: `call`, `index`, `lookup` fields removed --- lua/nvim-treesitter/parsers.lua | 2 +- runtime/queries/koto/highlights.scm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 9e3a32e2e..0ddc29cd4 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1215,7 +1215,7 @@ return { }, koto = { install_info = { - revision = '2ffc77c14f0ac1674384ff629bfc207b9c57ed89', + revision = '633744bca404ae4edb961a3c2d7bc947a987afa4', url = 'https://github.com/koto-lang/tree-sitter-koto', }, maintainers = { '@irh' }, diff --git a/runtime/queries/koto/highlights.scm b/runtime/queries/koto/highlights.scm index bd6ce8d0e..396d9bdc6 100644 --- a/runtime/queries/koto/highlights.scm +++ b/runtime/queries/koto/highlights.scm @@ -90,7 +90,8 @@ (identifier) @module) (chain - lookup: (identifier) @variable.member) + (lookup + (identifier)) @variable.member) (chain start: (identifier) @function.call) -- cgit v1.2.3-70-g09d2