From 0839ed92d13f4f68f5e8667f5cc904cdad659e8a Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Fri, 3 Oct 2025 15:13:45 +0200 Subject: [PATCH] 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. --- lua/nvim-treesitter/parsers.lua | 2 +- runtime/queries/inko/highlights.scm | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 34a5aa04e..af6814160 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1042,7 +1042,7 @@ return { }, inko = { install_info = { - revision = '1fcbf8ca64b1a088525235662ad80aa803d97413', + revision = '080e957d94b330e3867f063b148a8050b0888f4e', url = 'https://github.com/inko-lang/tree-sitter-inko', }, maintainers = { '@yorickpeterse' }, diff --git a/runtime/queries/inko/highlights.scm b/runtime/queries/inko/highlights.scm index 3b8ede262..4bb9631f8 100644 --- a/runtime/queries/inko/highlights.scm +++ b/runtime/queries/inko/highlights.scm @@ -64,6 +64,11 @@ "uni" ] @keyword +[ + "async" + "await" +] @keyword.coroutine + "fn" @keyword.function "import" @keyword.import