plugins/lsp: Fix extra config of lsp servers

This commit is contained in:
traxys 2024-11-19 11:36:30 +01:00
parent 2017830a2c
commit 31eb9d8d75

View file

@ -168,7 +168,7 @@ in
(mkRemovedOptionModule ( (mkRemovedOptionModule (
basePluginPath ++ [ "extraSettings" ] basePluginPath ++ [ "extraSettings" ]
) "You can use `${basePluginPathString}.extraOptions.settings` instead.") ) "You can use `${basePluginPathString}.extraOptions.settings` instead.")
(extraConfig cfg) (lib.mkIf cfg.enable (extraConfig cfg))
] ]
# Add an alias (with warning) for the lspconfig server name, if different to `name`. # Add an alias (with warning) for the lspconfig server name, if different to `name`.
# Note: users may use lspconfig's docs to guess the `plugins.lsp.servers.*` name # Note: users may use lspconfig's docs to guess the `plugins.lsp.servers.*` name