mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-13 17:05:32 +00:00
formatter/conform-nvim: use listOf anything
This commit is contained in:
parent
26567dffef
commit
7d8e2f7669
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
||||
inherit (lib.types) attrsOf anything list either;
|
||||
inherit (lib.types) attrsOf anything listOf either;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption luaInline;
|
||||
|
||||
cfg = config.vim.formatter.conform-nvim;
|
||||
|
|
@ -42,7 +42,7 @@ in {
|
|||
};
|
||||
|
||||
formatters_by_ft = mkOption {
|
||||
type = either (attrsOf list) luaInline;
|
||||
type = either (attrsOf (listOf anything)) luaInline;
|
||||
default = {};
|
||||
example = {lua = ["stylua"];};
|
||||
description = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue