Skip to content

Conversation

@davisjc
Copy link

@davisjc davisjc commented Jan 4, 2026

The tree-sitter-cli package is required to compile tree-sitter parsers and is now listed as a dependency of the popular nvim-treesitter plugin.

Without tree-sitter-cli installed, the nvim-treesitter plugin will emit a message on every start as it tries and fails to compile the language parsers requested by the user. Do the simple thing and add a dependency to the neovim package to provide the user with a sane environment for using tree-sitter.

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

The tree-sitter-cli package is required to compile tree-sitter parsers
and is now listed as a dependency of the popular nvim-treesitter plugin.

Without tree-sitter-cli installed, the nvim-treesitter plugin will emit
a message on every start as it tries and fails to compile the language
parsers requested by the user.  Do the simple thing and add a dependency
to the neovim package to provide the user with a sane environment for
using tree-sitter.
@github-actions github-actions bot added the lua Lua use is a significant feature of the PR or issue label Jan 4, 2026
Copy link
Member

@botantony botantony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I 👎 this idea. tree-sitter-cli is not used by neovim directly. nvim-treesitter is a popular thing for sure, but at the end of the day it is a third-party plugin and neovim can function without it perfectly fine. A user who has troubles with a plugin not functioning properly without a certain package should refer to the documentation for the requirements, it usually lists what additional tools are needed, just like in this case: https://github.com/nvim-treesitter/nvim-treesitter/tree/main?tab=readme-ov-file#requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lua Lua use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants