LSP-like functionality based on treesitter locals
  • Lua 83.9%
  • Makefile 16.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-11-28 16:08:22 +01:00
.github/workflows ci: add lint and test harness 2025-11-28 16:01:29 +01:00
lua/nvim-treesitter-locals add nvim-treesitter locals module 2025-11-28 15:53:58 +01:00
scripts ci: add lint and test harness 2025-11-28 16:01:29 +01:00
.gitignore ci: add lint and test harness 2025-11-28 16:01:29 +01:00
.luarc.json ci: add lint and test harness 2025-11-28 16:01:29 +01:00
.stylua.toml ci: add lint and test harness 2025-11-28 16:01:29 +01:00
LICENSE Initial commit 2025-11-28 15:52:09 +01:00
Makefile ci: add lint and test harness 2025-11-28 16:01:29 +01:00
README.md docs(readme): placeholder 2025-11-28 16:08:22 +01:00

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