From f49db2989c7cb9eb14141dc639c043e52cbfd27e Mon Sep 17 00:00:00 2001 From: "S.M. Safi" Date: Thu, 5 Feb 2026 13:00:04 +0600 Subject: [PATCH 1/2] docs: add tree-sitter-cli and node as requirements The nvim-treesitter rewrite (main branch) now requires the CLI and Node to generate parsers. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2b9e52dad85..a83a2ac1121 100644 --- a/README.md +++ b/README.md @@ -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 From 83c44edb7318c3684f07ecbdc19d45daea655448 Mon Sep 17 00:00:00 2001 From: "S.M. Safi" Date: Sat, 7 Feb 2026 12:40:53 +0600 Subject: [PATCH 2/2] feat: add node and tree-sitter-cli to health check --- lua/kickstart/health.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/lua/kickstart/health.lua b/lua/kickstart/health.lua index ca684516003..6fabca7e59d 100644 --- a/lua/kickstart/health.lua +++ b/lua/kickstart/health.lua @@ -20,8 +20,8 @@ local check_version = function() end local check_external_reqs = function() - -- Basic utils: `git`, `make`, `unzip` - for _, exe in ipairs { 'git', 'make', 'unzip', 'rg' } do + -- Basic utils: `git`, `make`, `unzip`, `node` + for _, exe in ipairs { 'git', 'make', 'unzip', 'rg', 'node' } do local is_executable = vim.fn.executable(exe) == 1 if is_executable then vim.health.ok(string.format("Found executable: '%s'", exe)) @@ -30,6 +30,14 @@ local check_external_reqs = function() end end + -- Special check for tree-sitter CLI (handles naming variations) + local ts_exe = vim.fn.executable 'tree-sitter-cli' == 1 and 'tree-sitter-cli' or 'tree-sitter' + if vim.fn.executable(ts_exe) == 1 then + vim.health.ok(string.format("Found executable: '%s'", ts_exe)) + else + vim.health.warn(string.format("Could not find executable: '%s'", ts_exe)) + end + return true end