feat(zsh-syntax-highlighting): Remove zsh-syntax-highlighting

This commit is contained in:
punkfairie 2024-10-20 15:56:55 -07:00
parent 48ac6bc7f6
commit 3849b61657
Signed by: punkfairie
GPG key ID: 01823C057725C266
3 changed files with 2 additions and 32 deletions

View file

@ -383,19 +383,8 @@
"revision": "53835422f965e6c88b9ad59e11d343ca4552bf6d",
"url": "https://github.com/rose-pine/zellij/archive/53835422f965e6c88b9ad59e11d343ca4552bf6d.tar.gz",
"hash": "0cj31kv7y05cyyg7v0pc1dh5a2mp46sql2ngxk52cbks1garvnjl"
},
"zsh-syntax-highlighting": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "catppuccin",
"repo": "zsh-syntax-highlighting"
},
"branch": "main",
"revision": "7926c3d3e17d26b3779851a2255b95ee650bd928",
"url": "https://github.com/catppuccin/zsh-syntax-highlighting/archive/7926c3d3e17d26b3779851a2255b95ee650bd928.tar.gz",
"hash": "1yjgpd44hhyk2mpg5g1scf53dwpjbyqbi2i8zhv98qkk1as77awp"
}
},
"version": 3
}
}

View file

@ -27,5 +27,4 @@
./waybar.nix
./zathura.nix
./zellij.nix
./zsh-syntax-highlighting.nix
]

View file

@ -1,18 +0,0 @@
{ config, lib, ... }:
let
inherit (config.catppuccin) sources;
inherit (lib) ctp;
cfg = config.programs.zsh.syntaxHighlighting.catppuccin;
enable = cfg.enable && config.programs.zsh.syntaxHighlighting.enable;
in
{
options.programs.zsh.syntaxHighlighting.catppuccin = ctp.mkCatppuccinOpt {
name = "Zsh Syntax Highlighting";
};
config.programs.zsh = lib.mkIf enable {
initExtra = lib.mkBefore ''
source '${sources.zsh-syntax-highlighting}/themes/catppuccin_${cfg.flavor}-zsh-syntax-highlighting.zsh'
'';
};
}