From afa64f35eefa388ca897656f7b3928a6e9e09e4d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Apr 2024 22:03:20 +0200 Subject: [PATCH] plugins/lsp/helpers/mkLsp: add extraConfig argument --- plugins/lsp/helpers.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/lsp/helpers.nix b/plugins/lsp/helpers.nix index 31c1ab26..b7e706a6 100644 --- a/plugins/lsp/helpers.nix +++ b/plugins/lsp/helpers.nix @@ -7,6 +7,7 @@ cmd ? (cfg: null), settings ? (cfg: cfg), settingsOptions ? {}, + extraConfig ? cfg: {}, ... }: # returns a module @@ -123,6 +124,7 @@ (basePluginPath ++ ["extraSettings"]) "You can use `${basePluginPathString}.extraOptions.settings` instead." ) + (extraConfig cfg) ]; }; }