mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 07:05:57 +01:00
18 lines
342 B
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 = {};
|
|
};
|
|
};
|
|
}
|