mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-10 14:45:58 +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 = {};
|
|
};
|
|
};
|
|
}
|