mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-27 10:39:47 +01:00
14 lines
343 B
Nix
14 lines
343 B
Nix
{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 = {};
|
|
};
|
|
};
|
|
}
|