git.iko.soy/typeable/nixpkgs
on master help sign in
programs.zsh.syntax-highlighting: simplify enable option by using `mkEnableOption`
commitc4e4071ed115aca6ad8e7a15429638b2c497e790 authorMaximilian Bosch <maximilian@mbosch.me> dateTue 30 May 2017, 14:40 (10 years ago) parent0925f79
1 file changed+1−7
nixos/modules/programs/zsh/zsh-syntax-highlighting.nix+1−7
nixos/modules/programs/zsh/zsh-syntax-highlighting.nix+1−7
@@ -8,13 +8,7 @@ in
88 {
99 options = {
1010 programs.zsh.syntaxHighlighting = {
11− enable = mkOption {
12− default = false;
13− type = types.bool;
14− description = ''
15− Enable zsh-syntax-highlighting.
16− '';
17− };
11+ enable = mkEnableOption "zsh-syntax-highlighting";
1812
1913 highlighters = mkOption {
2014 default = [ "main" ];