Skip to content

Commit

Permalink
add warning for enabling syntax highlighting and fast syntax highligh…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
motheki committed May 29, 2024
1 parent 2839ef5 commit 44c8848
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/programs/zsh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ in

config = mkIf cfg.enable {

warnings = mkIf (cfg.enableFastSyntaxHighlighting && cfg.enableSyntaxHighlighting) [
"zsh-fast-syntax-highlighting and zsh-syntax-highlighting are mutually exclusive. Disable one of them."
];
environment.systemPackages =
[ # Include zsh package
pkgs.zsh
Expand Down

0 comments on commit 44c8848

Please sign in to comment.