neovim-flake/modules/plugins/lsp/null-ls/null-ls.nix

15 lines
327 B
Nix
Raw Normal View History

{lib, ...}: let
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) attrsOf str;
in {
options.vim.lsp.null-ls = {
enable = mkEnableOption "null-ls, also enabled automatically";
sources = mkOption {
description = "null-ls sources";
type = attrsOf str;
default = {};
};
};
}