2024-03-12 01:46:29 +01:00
|
|
|
{lib, ...}: let
|
|
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
|
|
inherit (lib.types) attrsOf str;
|
2023-11-08 03:16:46 +01:00
|
|
|
in {
|
2023-04-17 22:27:27 +02:00
|
|
|
options.vim.lsp.lspconfig = {
|
|
|
|
enable = mkEnableOption "nvim-lspconfig, also enabled automatically";
|
|
|
|
|
|
|
|
sources = mkOption {
|
|
|
|
description = "nvim-lspconfig sources";
|
2024-03-12 01:46:29 +01:00
|
|
|
type = attrsOf str;
|
2023-04-17 22:27:27 +02:00
|
|
|
default = {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|