diff options
| author | Yorick Peterse <yorick@yorickpeterse.com> | 2025-10-03 15:13:45 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2025-10-03 15:18:41 +0200 |
| commit | b684696315a11e1b08564398bda778788eac92a9 (patch) | |
| tree | af2611cea04b66474c0cd7a77ef9eab742ff87ac | |
| parent | feat(python): highlight special brackets in `format_expression` (diff) | |
| download | nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.tar nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.tar.gz nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.tar.bz2 nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.tar.lz nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.tar.xz nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.tar.zst nvim-treesitter-b684696315a11e1b08564398bda778788eac92a9.zip | |
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.
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/inko/highlights.scm | 5 |
2 files changed, 6 insertions, 1 deletions
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 |
