Merge pull request #241712 from figsoda/overrides

vimPlugins: clean up overrides
This commit is contained in:
Ilan Joselevich 2023-07-05 23:05:28 +03:00 committed by GitHub
commit 08c696c8d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 345 additions and 343 deletions

View File

@ -35,10 +35,10 @@ let
# or for all grammars:
# pkgs.vimPlugins.nvim-treesitter.withAllGrammars
withPlugins =
f: self.nvim-treesitter.overrideAttrs (_: {
f: self.nvim-treesitter.overrideAttrs {
passthru.dependencies = map grammarToPlugin
(f (tree-sitter.builtGrammars // builtGrammars));
});
};
withAllGrammars = withPlugins (_: allGrammars);
in

File diff suppressed because it is too large Load Diff