Skip to content

feat(tree-sitter): remove external tree-sitter deps#620

Draft
gorillamoe wants to merge 1 commit into
ray-x:masterfrom
gorillamoe:feat/remove-nvim-treesitter-dep
Draft

feat(tree-sitter): remove external tree-sitter deps#620
gorillamoe wants to merge 1 commit into
ray-x:masterfrom
gorillamoe:feat/remove-nvim-treesitter-dep

Conversation

@gorillamoe
Copy link
Copy Markdown

Remove all external tree-sitter dependencies and instead use the built-in tree-sitter support in Neovim. This simplifies the setup process and reduces maintenance overhead.

  • Removed the nvim-treesitter dependency and related configuration.
  • Updated documentation to reflect the changes in tree-sitter usage.
  • Refactored code to utilize Neovim's built-in tree-sitter API.
  • Added a new lua/treesitter.lua module to handle tree-sitter related functionality.
  • Updated tests to work with the new tree-sitter implementation.
    • All tests pass locally (but had to fix local test setup; not included in this PR).
  • Many things are broken like (:Gomvp), but this is also broken in master
  • Also removed nvim-treesitter-textobjects dep and updated docs
  • luacheck reports a lot of warnings/errors, but they are also present in master, so I didn't fix them in this PR.

X-Ref: #613

@gorillamoe gorillamoe force-pushed the feat/remove-nvim-treesitter-dep branch 5 times, most recently from 1efdc1f to 8289f1f Compare May 22, 2026 19:00
Remove all external tree-sitter dependencies and instead use the
built-in tree-sitter support in Neovim. This simplifies the setup
process and reduces maintenance overhead.

- Removed the `nvim-treesitter` dependency and related configuration.
- Updated documentation to reflect the changes in tree-sitter usage.
- Refactored code to utilize Neovim's built-in tree-sitter API.
- Added a new `lua/treesitter.lua` module to handle tree-sitter related
  functionality.
- Updated tests to work with the new tree-sitter implementation.
  - All tests pass locally (but had to fix local test setup; not included
    in this PR).
- Many things are broken like (`:Gomvp`), but this is also broken in master
- Also removed nvim-treesitter-textobjects dep and updated docs
- `luacheck` reports a lot of warnings/errors, but they are also present
  in master, so I didn't fix them in this PR.
@gorillamoe gorillamoe force-pushed the feat/remove-nvim-treesitter-dep branch from 8289f1f to cff9263 Compare May 22, 2026 19:30
@gorillamoe gorillamoe marked this pull request as draft May 22, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant