Fix(subprocess): remove tree-sitter dependency#577
Open
archie-judd wants to merge 2 commits intonvim-neotest:masterfrom
Open
Fix(subprocess): remove tree-sitter dependency#577archie-judd wants to merge 2 commits intonvim-neotest:masterfrom
archie-judd wants to merge 2 commits intonvim-neotest:masterfrom
Conversation
173d0da to
2633fcf
Compare
This was referenced Jan 20, 2026
mrcjkb
reviewed
Jan 21, 2026
2633fcf to
ce51b28
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Neovim 0.11+ bundles tree sitter parsers in the runtime, and no longer requires nvim-treesitter for basic parsing. This PR updates the subprocess initialisation process to handle both cases.
Changes
nvim_get_runtime_file("parser/*", true)and add their parents to rtp.resolve_plugin_root()as a separate function for clarity.add_to_rtptoadd_paths_to_rtpwith clearer signatureContext
The subprocess needs parsers available for treesitter parsing of test files. Previously this relied on nvim-treesitter being installed. Now it works with:
Fixes:
#531