Skip to content

v1.1.1

Choose a tag to compare

@VimukthiShohan VimukthiShohan released this 15 Jul 09:24

Fixes Neovim failing to load on a freshly provisioned machine.

Fixed

  • tree-sitter-cli now installs from npm instead of apt. Ubuntu 24.04 (Noble) ships tree-sitter-cli 0.20.8, which predates the tree-sitter build subcommand that nvim-treesitter (main branch) uses to compile parsers. Every parser install failed on startup with error: The subcommand 'build' wasn't recognized. The CLI moved from setup/apt-packages.txt to setup/tools/npm.txt, which provides a current (0.25.x) prebuilt binary.

Guards

  • tests/ubuntu-config.bash now fails if tree-sitter-cli reappears in the apt manifest or goes missing from the npm manifest.
  • AGENTS.md records the constraint alongside the existing apt-hygiene rules (same class of problem as apt's outdated Neovim).

Upgrading an already-provisioned machine

The converge step installs but never uninstalls, so remove the stale apt binary first:

sudo apt remove -y tree-sitter-cli
cd ~/.dotfiles && git pull && ./apply.sh
tree-sitter --version   # expect >= 0.25
nvim +TSUpdate