fix: 覆盖 catppuccin/nix 的 nvim 包跳过 detect_integrations require check,全量启用 catppuccin
This commit is contained in:
+11
-1
@@ -1,6 +1,16 @@
|
|||||||
{ ... }:
|
{ inputs, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# catppuccin/nix's nvim package is missing nvimSkipModule for detect_integrations
|
||||||
|
# Override with higher priority than mkDefault to fix require check failure
|
||||||
|
catppuccin.sources.nvim =
|
||||||
|
(inputs.catppuccin.packages.${pkgs.stdenv.hostPlatform.system}.nvim).overrideAttrs
|
||||||
|
(old: {
|
||||||
|
nvimSkipModule = (old.nvimSkipModule or [ ]) ++ [
|
||||||
|
"catppuccin.lib.detect_integrations"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user