neovim-flake/modules/lsp/lspconfig/lspconfig.nix

18 lines
342 B
Nix

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