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

23 lines
470 B
Nix
Raw Normal View History

2024-07-12 20:55:31 +03:00
{ 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 = { };
};
};
}