Skip to content

Update Request: nvim-treesitter master branch → main? branch #415438

@JonBoyleCoding

Description

@JonBoyleCoding

Nixpkgs version

  • Unstable (25.11)

Package name

nvim-treesitter

Upstream version

https://github.com/nvim-treesitter/nvim-treesitter/tree/main ? The developer has asked not to blindly do this - see my comment below.

Nixpkgs version

2025-05-24

Changelog

No response

Additional context

It looks like nvim-treesitter has changed to using main rather than master, and the current commit is from the master branch. They haven't updated the master branch in a few months other than to say they are archiving it.

The commit used is on the master branch and has a couple hundred missing commits from main.

nvim-treesitter = buildVimPlugin {
pname = "nvim-treesitter";
version = "2025-05-24";
src = fetchFromGitHub {
owner = "nvim-treesitter";
repo = "nvim-treesitter";
rev = "42fc28ba918343ebfd5565147a42a26580579482";
sha256 = "1ck1qslxwi18qxrga68blvk1dg9j4jn65xiw8snq5pk06waksnq9";
};
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/";
meta.hydraPlatforms = [ ];
};

This causes some issues with lack of grammar updates.

I saw this referenced #411256 (comment) - but that was in an issue for treesitter not nvim-treesitter directly and has been closed.

Notify maintainers

@figsoda


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.6.topic: tree-sitterTree-sitter is a parser generator tool and an incremental parsing library.6.topic: vimAdvanced text editor9.needs: package (update)This needs a package to be updated

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions