fix: nvim first boot on a fresh box — tree-sitter CLI, no luarocks, guarded local plugin

nvim-treesitter (main) hard-requires the tree-sitter CLI: new manifest
row via npm. hererocks failed compiling lua 5.1 (readline headers) for
oxocarbon's incidental rockspec: rocks disabled, the colorscheme works
without. The ~/code/nvim-ai-assist local plugin gets a cond so boxes
without the checkout skip it silently. All three found live, phase 5 VM.
This commit is contained in:
bcherb2
2026-08-22 22:45:47 -04:00
parent e52d1384ca
commit 170db93f35
3 changed files with 10 additions and 0 deletions
+3
View File
@@ -30,6 +30,7 @@
@needs agents/pi-plugins agents/pi @needs agents/pi-plugins agents/pi
@needs agents/specify-cli core/uv @needs agents/specify-cli core/uv
@needs core/mermaid-cli core/node @needs core/mermaid-cli core/node
@needs core/tree-sitter core/node
# The three rows with no apt package at all. They resolved to brew and # The three rows with no apt package at all. They resolved to brew and
# nothing installed brew, so `^a` ticked them and they failed on every # nothing installed brew, so `^a` ticked them and they failed on every
# fresh Linux box. On Linux brew lives entirely under # fresh Linux box. On Linux brew lives entirely under
@@ -47,6 +48,7 @@
@spec agents/pi-plugins @juicesharp/rpiv-ask-user-question @juicesharp/rpiv-btw @juicesharp/rpiv-todo @samfp/pi-memory @tmustier/pi-ralph-wiggum pi-markdown-preview pi-powerline-footer pi-simplify pi-subagents pi-web-access @spec agents/pi-plugins @juicesharp/rpiv-ask-user-question @juicesharp/rpiv-btw @juicesharp/rpiv-todo @samfp/pi-memory @tmustier/pi-ralph-wiggum pi-markdown-preview pi-powerline-footer pi-simplify pi-subagents pi-web-access
@spec agents/specify-cli specify-cli @spec agents/specify-cli specify-cli
@spec core/mermaid-cli @mermaid-js/mermaid-cli @spec core/mermaid-cli @mermaid-js/mermaid-cli
@spec core/tree-sitter tree-sitter-cli
@spec core/bitwarden-cli bw @spec core/bitwarden-cli bw
@spec apps/obsidian md.obsidian.Obsidian @spec apps/obsidian md.obsidian.Obsidian
@spec apps/chrome https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb @spec apps/chrome https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
@@ -69,6 +71,7 @@ core brew safe -script -builtin linuxbrew — the only source for lazygit, omp a
core node safe -tarball node apt ships 18.19 and the npm rows below need 20+ — tarball to /opt/node core node safe -tarball node apt ships 18.19 and the npm rows below need 20+ — tarball to /opt/node
core imagemagick safe imagemagick imagemagick required by the nvim markdown render path core imagemagick safe imagemagick imagemagick required by the nvim markdown render path
core mermaid-cli safe -npm -npm mmdc — nvim renders mermaid fences with it core mermaid-cli safe -npm -npm mmdc — nvim renders mermaid fences with it
core tree-sitter safe -npm -npm tree-sitter CLI — nvim-treesitter (main) refuses to start without it
core btop safe btop btop core btop safe btop btop
core htop safe htop htop core htop safe htop htop
core ncdu safe ncdu ncdu core ncdu safe ncdu ncdu
Can't render this file because it contains an unexpected character in line 17 and column 49.
@@ -31,6 +31,10 @@ require("lazy").setup({
-- version = "*", -- try installing the latest stable version for plugins that support semver -- version = "*", -- try installing the latest stable version for plugins that support semver
}, },
install = { colorscheme = { "tokyonight", "habamax" } }, install = { colorscheme = { "tokyonight", "habamax" } },
-- No luarocks. The only consumer is oxocarbon's incidental rockspec, the
-- colorscheme works without it, and hererocks compiling lua 5.1 on a fresh
-- box fails on missing readline headers (live, 2026-08-23 phase 5 VM).
rocks = { enabled = false, hererocks = false },
checker = { checker = {
enabled = true, -- check for plugin updates periodically enabled = true, -- check for plugin updates periodically
notify = false, -- notify on update notify = false, -- notify on update
@@ -1,6 +1,9 @@
return { return {
dir = vim.fn.expand("~/code/nvim-ai-assist"), dir = vim.fn.expand("~/code/nvim-ai-assist"),
name = "nvim_ai_assist", name = "nvim_ai_assist",
-- A local checkout that only some machines have. Without the cond, every
-- fresh box reports "Local plugin does not exist" on first sync.
cond = vim.fn.isdirectory(vim.fn.expand("~/code/nvim-ai-assist")) == 1,
lazy = false, lazy = false,
cmd = { "AI", "AIHealth", "AIRefreshContext" }, cmd = { "AI", "AIHealth", "AIRefreshContext" },
keys = { keys = {