summaryrefslogtreecommitdiffstats
path: root/modules/plugins/lsp/lspconfig/lspconfig.nix
blob: 2f7c7ac48e1ffab3784b612c3e585b340c8a6549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{lib, ...}: let
  inherit (lib.options) mkEnableOption mkOption;
  inherit (lib.types) attrsOf str;
in {
  options.vim.lsp.lspconfig = {
    enable = mkEnableOption "nvim-lspconfig, also enabled automatically";

    sources = mkOption {
      description = "nvim-lspconfig sources";
      type = attrsOf str;
      default = {};
    };
  };
}