docs: add tree-sitter-cli and node as requirements

The nvim-treesitter rewrite (main branch) now requires the CLI and Node to generate parsers.
This commit is contained in:
S.M. Safi 2026-02-05 13:00:04 +06:00
parent e79572c9e6
commit f49db2989c
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ External Requirements:
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation),
[fd-find](https://github.com/sharkdp/fd#installation)
- [`tree-sitter-cli`](https://github.com/tree-sitter/tree-sitter/blob/master/crates/cli/README.md) - For syntax highlighting (required by `nvim-treesitter`)
- [`node`](https://nodejs.org/en/download) - Required by `tree-sitter-cli` to generate parsers
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true