Open BirdeeHub opened 1 day ago
sorry about the confusion, this is occuring on the most recent version
p.nvim-treesitter.overrideAttrs (a: {
passthru = a.passthru // {
inherit builtGrammars allGrammars withPlugins withAllGrammars;
grammarPlugins = a.passthru.grammarPlugins // {
norg = norgGrammars.tree-sitter-norg;
norg-meta = norgGrammars.tree-sitter-norg-meta;
};
};
});
It looks like the grammars you are passing in here are not being passed through grammarToPlugin first.
Will try this and test
The overlay does not interact well with the new iterations to pkgs.neovimUtils.grammarToPlugin and thus also pkgs.nvim-treesitter.withAllGrammars
I get an error building with this grammar after the most recent update to pkgs.neovimUtils.grammarToPlugin, but the change fixes a lot of issues in nixpkgs, so this flake should be the one to update.
The interesting part of the stack trace is as follows.
Your entry to grammarPlugins does not contain an origGrammar field in some circumstances it seems