mirror of
https://github.com/nvim-treesitter/nvim-treesitter-locals.git
synced 2026-11-17 02:50:42 +00:00
LSP-like functionality based on treesitter locals
- Lua 83.9%
- Makefile 16.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| lua/nvim-treesitter-locals | ||
| scripts | ||
| .gitignore | ||
| .luarc.json | ||
| .stylua.toml | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
nvim-treesitter-locals
LSP-like functionality (rename, goto definition, references, selection range) based on treesitter locals
Warning
Nothing to see here yet.
Roadmap
- rename
- goto definition
- references
- document highlight
- selection range (the function formerly known as highlight scope/incremental selection)
Design constraints:
- no setup
- expose single function per feature to be mapped by users
- provide "smart" mappings (check for attached LSP client with capability, then for parser and query) as
<Plug>mapping. - user commands?
- use Nvim core API (
vim.pos,vim.range), not nvim-treesitter