3
0
Fork 0
forked from mirrors/nixpkgs

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;
let
cfg = config.programs.zsh.syntax-highlighting;
cfg = config.programs.zsh.syntaxHighlighting;
in
{
options = {
programs.zsh.syntax-highlighting = {
programs.zsh.syntaxHighlighting = {
enable = mkOption {
default = false;
type = types.bool;

View file

@ -206,6 +206,9 @@ with lib;
(mkRemovedOptionModule [ "fonts" "fontconfig" "renderMonoTTFAsBitmap" ] "")
# 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" ])
];
}