mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
feat(locals)!: refactor locals.lua into standalone
Co-authored-by: TheLeoP <eugenio2305@hotmail.com>
This commit is contained in:
parent
692b051b09
commit
5817ff01b5
6 changed files with 419 additions and 529 deletions
|
|
@ -119,6 +119,10 @@ vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
|
|||
|
||||
Injections are used for multi-language documents, see `:h treesitter-language-injections`. No setup is needed.
|
||||
|
||||
## 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.
|
||||
|
||||
# Advanced setup
|
||||
|
||||
## Adding parsers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue