Skip to content

Commit

Permalink
vimPlugins: fix require failures (NixOS#367666)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Dec 23, 2024
2 parents f234581 + e728c7a commit 6b11d6f
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ in

blink-cmp = callPackage ./non-generated/blink-cmp { };

blink-cmp-copilot = super.blink-cmp-copilot.overrideAttrs {
dependencies = [ self.copilot-lua ];
};

bluloco-nvim = super.bluloco-nvim.overrideAttrs {
dependencies = [ self.lush-nvim ];
};
Expand Down Expand Up @@ -1299,6 +1303,7 @@ in
"lazyvim.plugins.extras.lang.svelte"
"lazyvim.plugins.extras.lang.typescript"
"lazyvim.plugins.init"
"lazyvim.plugins.ui"
"lazyvim.plugins.xtras"
];
};
Expand Down Expand Up @@ -2203,6 +2208,14 @@ in
vimCommandCheck = "TealBuild";
};

nvim-tree-lua = super.nvim-tree-lua.overrideAttrs {
nvimSkipModule = [
# Meta can't be required
"nvim-tree._meta.api"
"nvim-tree._meta.api_decorator"
];
};

nvim-treesitter = super.nvim-treesitter.overrideAttrs (
callPackage ./nvim-treesitter/overrides.nix { } self super
);
Expand Down Expand Up @@ -2597,14 +2610,19 @@ in
nvimSkipModule = [
# Requires setup call first
"snacks.dashboard"
"snacks.debug"
"snacks.dim"
"snacks.git"
"snacks.indent"
"snacks.input"
"snacks.lazygit"
"snacks.notifier"
"snacks.scratch"
"snacks.scroll"
"snacks.terminal"
"snacks.win"
"snacks.words"
"snacks.debug"
"snacks.scratch"
"snacks.zen"
# Optional trouble integration
"trouble.sources.profiler"
];
Expand Down

0 comments on commit 6b11d6f

Please sign in to comment.