nixeovim/modules/plugins/language-server/nlsp-settings.nix

22 lines
470 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.plugins.language-server.nlsp-settings;
in
{
options.plugins.language-server.nlsp-settings = with lib; {
enable = lib.mkEnableOption "nlsp-settings";
package = mkPackageOption pkgs.vimPlugins "nlsp-settings-nvim" { };
};
config = lib.mkIf cfg.enable {
plugin.nlsp-settings-nvim = {
enable = true;
name = "nlspsettings";
package = cfg.package;
setupSettings = { };
};
};
}