feat(locals)!: remove locals module

Problem: `locals.lua` was neither used nor tested, and providing it goes
against the goal of nvim-treesitter not being a required dependency for
other plugins.

Solution: Remove the module and document that the queries are provided
as-is for limited backward compatibility only.
This commit is contained in:
Christian Clason
2025-05-04 10:51:09 +02:00
parent 53dccb3a77
commit 18bb653917
3 changed files with 5 additions and 461 deletions

View File

@@ -118,7 +118,7 @@ Injections are used for multi-language documents, see `:h treesitter-language-in
## Locals
These queries can be used to look up definitions and references to identifiers in a given scope. They are used, e.g., by the `nvim-treesitter-refactor` plugin.
These queries can be used to look up definitions and references to identifiers in a given scope. They are not used in this plugin and are provided for (limited) backward compatibility.
# Advanced setup