mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 13:19:48 +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 = {};
|
|
};
|
|
};
|
|
}
|