Skip to content

Commit

Permalink
plugins/lsp: Fix extra config of lsp servers
Browse files Browse the repository at this point in the history
  • Loading branch information
traxys committed Nov 19, 2024
1 parent 2017830 commit 31eb9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/lsp/language-servers/_mk-lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ in
(mkRemovedOptionModule (
basePluginPath ++ [ "extraSettings" ]
) "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`.
# Note: users may use lspconfig's docs to guess the `plugins.lsp.servers.*` name
Expand Down

0 comments on commit 31eb9d8

Please sign in to comment.