From 18bb6539178edac1547d2a3082ecc553fba37dfd Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 4 May 2025 10:51:09 +0200 Subject: 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index d3de57759..5b04cf86c 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3-70-g09d2