Skip to content

Commit

Permalink
fixup! plugins/lsp: automatically add serverName alias
Browse files Browse the repository at this point in the history
  • Loading branch information
MattSturgeon committed Jun 3, 2024
1 parent 6ba4f2c commit f84192d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/lsp/language-servers/_mk-lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ in
) "You can use `${basePluginPathString}.extraOptions.settings` instead.")
(extraConfig cfg)
]
# Add an alias for the lspconfig server name, if different to `name`.
# TODO Should we keep this indefinitely? Added 2024-06-03.
# 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
++ (optional (name != serverName) (
mkRenamedOptionModule (basePath ++ [ serverName ]) basePluginPath
Expand Down

0 comments on commit f84192d

Please sign in to comment.