mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-09 03:41:35 +00:00
languages/html: reorder parameters for consistency
This commit is contained in:
parent
3aadd2f3ce
commit
b6ecc7f19c
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ in {
|
||||||
enable = mkEnableOption "HTML treesitter support" // {default = config.vim.languages.enableTreesitter;};
|
enable = mkEnableOption "HTML treesitter support" // {default = config.vim.languages.enableTreesitter;};
|
||||||
package = mkGrammarOption pkgs "html";
|
package = mkGrammarOption pkgs "html";
|
||||||
autotagHtml = mkOption {
|
autotagHtml = mkOption {
|
||||||
description = "Enable autoclose/autorename of html tags (nvim-ts-autotag)";
|
|
||||||
type = bool;
|
type = bool;
|
||||||
default = true;
|
default = true;
|
||||||
|
description = "Enable autoclose/autorename of html tags (nvim-ts-autotag)";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -68,15 +68,15 @@ in {
|
||||||
enable = mkEnableOption "HTML formatting" // {default = config.vim.languages.enableFormat;};
|
enable = mkEnableOption "HTML formatting" // {default = config.vim.languages.enableFormat;};
|
||||||
|
|
||||||
type = mkOption {
|
type = mkOption {
|
||||||
description = "HTML formatter to use";
|
|
||||||
type = enum (attrNames formats);
|
type = enum (attrNames formats);
|
||||||
default = defaultFormat;
|
default = defaultFormat;
|
||||||
|
description = "HTML formatter to use";
|
||||||
};
|
};
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
description = "HTML formatter package";
|
|
||||||
type = package;
|
type = package;
|
||||||
default = formats.${cfg.format.type}.package;
|
default = formats.${cfg.format.type}.package;
|
||||||
|
description = "HTML formatter package";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue