mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-12-24 23:00:03 +01:00
lsp/null-ls: take a list instead of attrs for sources
This commit is contained in:
parent
38eed2d69d
commit
bb3ca63d21
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
inherit (lib.types) attrsOf str int nullOr;
|
||||
inherit (lib.types) listOf str int nullOr;
|
||||
inherit (lib.generators) mkLuaInline;
|
||||
inherit (lib.nvim.types) luaInline mkPluginSetupOption;
|
||||
inherit (lib.nvim.config) batchRenameOptions;
|
||||
|
|
@ -70,7 +70,7 @@ in {
|
|||
};
|
||||
|
||||
sources = mkOption {
|
||||
type = nullOr (attrsOf luaInline);
|
||||
type = nullOr (listOf luaInline);
|
||||
default = null;
|
||||
description = "Sources for null-ls to register";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue