Skip to content

Commit 2fd1995

Browse files
committed
fix: use tree-sitter-cli homebrew formula
1 parent 6c2bf0c commit 2fd1995

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

i

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ main() {
396396
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
397397
fi
398398

399-
brew install neovim git node tree-sitter ripgrep fzf lazygit 2>/dev/null || {
399+
brew install neovim git node tree-sitter-cli ripgrep fzf lazygit 2>/dev/null || {
400400
echo " Some packages may have failed, continuing..."
401401
}
402402
fi
@@ -423,7 +423,7 @@ main() {
423423
sudo pacman -Sy --noconfirm neovim git nodejs npm ripgrep fzf lazygit
424424
else
425425
echo " Warning: Unknown package manager."
426-
echo " Please install manually: neovim git nodejs npm tree-sitter ripgrep fzf lazygit"
426+
echo " Please install manually: neovim git nodejs npm tree-sitter-cli ripgrep fzf lazygit"
427427
fi
428428

429429
if ! command -v tree-sitter &>/dev/null; then

lua/health.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ local function format_report()
259259
if not tools["tree-sitter"] then
260260
table.insert(lines, "")
261261
table.insert(lines, "│ To fix missing tree-sitter:")
262-
table.insert(lines, "│ brew install tree-sitter (macOS)")
262+
table.insert(lines, "│ brew install tree-sitter-cli (macOS)")
263263
table.insert(lines, "│ npm install -g tree-sitter-cli (portable)")
264264
end
265265
end

0 commit comments

Comments
 (0)