mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user