From efa5d1fa3a7218c6fd8e04c42882af4b8468e8b2 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Fri, 2 Jan 2026 09:56:33 +0100 Subject: [PATCH] feat(robots)!: adapt to renamed parser --- SUPPORTED_LANGUAGES.md | 2 +- lua/nvim-treesitter/parsers.lua | 4 ++-- runtime/queries/{robots => robots_txt}/highlights.scm | 0 runtime/queries/{robots => robots_txt}/injections.scm | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename runtime/queries/{robots => robots_txt}/highlights.scm (100%) rename runtime/queries/{robots => robots_txt}/injections.scm (100%) diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md index 318a004f..15cd8c8b 100644 --- a/SUPPORTED_LANGUAGES.md +++ b/SUPPORTED_LANGUAGES.md @@ -245,7 +245,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | @steelsojka [rifleconf](https://github.com/purarue/tree-sitter-rifleconf) | unstable | `H  J ` | @purarue [rnoweb](https://github.com/bamonroe/tree-sitter-rnoweb) | unstable | `HF J ` | @bamonroe [robot](https://github.com/Hubro/tree-sitter-robot) | unstable | `HFIJ ` | @Hubro -[robots](https://github.com/opa-oz/tree-sitter-robots-txt) | unstable | `H  J ` | @opa-oz +[robots_txt](https://github.com/opa-oz/tree-sitter-robots-txt) | unstable | `H  J ` | @opa-oz [roc](https://github.com/faldor20/tree-sitter-roc) | unstable | `H IJL` | @nat-418 [ron](https://github.com/tree-sitter-grammars/tree-sitter-ron) | unstable | `HFIJL` | @amaanq [rst](https://github.com/stsewd/tree-sitter-rst) | unstable | `H  JL` | @stsewd diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index f5e0d7d4..ab1ecc46 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1914,9 +1914,9 @@ return { maintainers = { '@Hubro' }, tier = 2, }, - robots = { + robots_txt = { install_info = { - revision = '8e3a4205b76236bb6dbebdbee5afc262ce38bb62', + revision = '0c066107e3548de79316a6a4ec771e2f7cf7c468', url = 'https://github.com/opa-oz/tree-sitter-robots-txt', }, maintainers = { '@opa-oz' }, diff --git a/runtime/queries/robots/highlights.scm b/runtime/queries/robots_txt/highlights.scm similarity index 100% rename from runtime/queries/robots/highlights.scm rename to runtime/queries/robots_txt/highlights.scm diff --git a/runtime/queries/robots/injections.scm b/runtime/queries/robots_txt/injections.scm similarity index 100% rename from runtime/queries/robots/injections.scm rename to runtime/queries/robots_txt/injections.scm