mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
programs.zsh.syntax-highlighting: simplify enable option by using mkEnableOption
This commit is contained in:
parent
0925f79d56
commit
c4e4071ed1
@ -8,13 +8,7 @@ in
|
|||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
programs.zsh.syntaxHighlighting = {
|
programs.zsh.syntaxHighlighting = {
|
||||||
enable = mkOption {
|
enable = mkEnableOption "zsh-syntax-highlighting";
|
||||||
default = false;
|
|
||||||
type = types.bool;
|
|
||||||
description = ''
|
|
||||||
Enable zsh-syntax-highlighting.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
highlighters = mkOption {
|
highlighters = mkOption {
|
||||||
default = [ "main" ];
|
default = [ "main" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user