mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-09 03:56:11 +00:00
fix: update formatType in vue.nix to be nonEmptyListOf
This commit is contained in:
parent
8c558397c6
commit
699e848491
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.modules) mkIf mkMerge;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
inherit (lib.meta) getExe;
|
inherit (lib.meta) getExe;
|
||||||
inherit (lib.types) enum listOf;
|
inherit (lib.types) enum listOf nonEmptyListOf;
|
||||||
inherit (lib.generators) mkLuaInline;
|
inherit (lib.generators) mkLuaInline;
|
||||||
inherit (lib.nvim.attrsets) mapListToAttrs;
|
inherit (lib.nvim.attrsets) mapListToAttrs;
|
||||||
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
inherit (lib.nvim.types) mkGrammarOption diagnostics;
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
formatType =
|
formatType =
|
||||||
enum (attrNames formats);
|
nonEmptyListOf (enum (attrNames formats));
|
||||||
in {
|
in {
|
||||||
_file = ./vue.nix;
|
_file = ./vue.nix;
|
||||||
options.vim.languages.vue = {
|
options.vim.languages.vue = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue