Post flake deprecation notice
Some checks failed
CI / build (push) Failing after 19m5s

This commit is contained in:
iofq 2026-02-14 00:09:11 -06:00
parent d71e59e0cb
commit d019c356b1
2 changed files with 6 additions and 1 deletions

View file

@ -22,6 +22,11 @@ The `nixpkgs` `nvim-treesitter` plugin is not well equipped to handle the migrat
**nvim-treesitter-main** is a flake that builds the new `main` branch `nvim-treesitter`, along with all of the parser versions from the [`parsers.lua`](https://github.com/nvim-treesitter/nvim-treesitter/blob/main/lua/nvim-treesitter/parsers.lua) file, as recommended by the project. **nvim-treesitter-main** is a flake that builds the new `main` branch `nvim-treesitter`, along with all of the parser versions from the [`parsers.lua`](https://github.com/nvim-treesitter/nvim-treesitter/blob/main/lua/nvim-treesitter/parsers.lua) file, as recommended by the project.
## Deprecation
The `nvim-treesitter` main branch was merged into [nixpkgs](https://github.com/NixOS/nixpkgs/pull/470883) in late 2025.
This flake will stay maintained (new grammar versions) in the medium-term, but you should look to move to the nixpkgs version - it's far simpler and more correct.
## Usage ## Usage
** See below if you also plan to install tree-sitter grammars ** ** See below if you also plan to install tree-sitter grammars **

View file

@ -109,7 +109,7 @@ in
nvimSkipModules = [ "nvim-treesitter._meta.parsers" ]; nvimSkipModules = [ "nvim-treesitter._meta.parsers" ];
}) })
); );
nvim-treesitter = nvim-treesitter-unwrapped; nvim-treesitter = lib.warn "The nvim-treesitter-main flake is deprecated; consider moving to the nvim-treesitter package provided by nixpkgs unstable." nvim-treesitter-unwrapped;
nvim-treesitter-textobjects = prev'.nvim-treesitter-textobjects.overrideAttrs (old: { nvim-treesitter-textobjects = prev'.nvim-treesitter-textobjects.overrideAttrs (old: {
version = inputs.nvim-treesitter-textobjects.rev; version = inputs.nvim-treesitter-textobjects.rev;