zsh module: rename option syntax-highlighting

rename zsh-option "syntax-highlighting" -> "syntaxHighlighting"
This commit is contained in:
Willi Butz 2017-05-09 10:37:54 +02:00 committed by Franz Pletz
parent b411968774
commit 4e4f7a2f66
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 6 additions and 3 deletions

View File

@ -3,11 +3,11 @@
with lib; with lib;
let let
cfg = config.programs.zsh.syntax-highlighting; cfg = config.programs.zsh.syntaxHighlighting;
in in
{ {
options = { options = {
programs.zsh.syntax-highlighting = { programs.zsh.syntaxHighlighting = {
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.bool; type = types.bool;

View File

@ -206,6 +206,9 @@ with lib;
(mkRemovedOptionModule [ "fonts" "fontconfig" "renderMonoTTFAsBitmap" ] "") (mkRemovedOptionModule [ "fonts" "fontconfig" "renderMonoTTFAsBitmap" ] "")
# ZSH # ZSH
(mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntax-highlighting" "enable" ]) (mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "enable" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "highlighters" ] [ "programs" "zsh" "syntaxHighlighting" "highlighters" ])
(mkRenamedOptionModule [ "programs" "zsh" "syntax-highlighting" "patterns" ] [ "programs" "zsh" "syntaxHighlighting" "patterns" ])
]; ];
} }