Skip to content

Commit 1c802b3

Browse files
MattSturgeonGaetanLepage
authored andcommitted
plugins/lsp: simplify extraSettings deprecation
1 parent 167ea86 commit 1c802b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/lsp/language-servers/_mk-lsp.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,11 @@ in
196196
"servers"
197197
];
198198
basePluginPath = basePath ++ [ name ];
199-
basePluginPathString = builtins.concatStringsSep "." basePluginPath;
200199
in
201200
[
202201
(lib.mkRemovedOptionModule (
203202
basePluginPath ++ [ "extraSettings" ]
204-
) "You can use `${basePluginPathString}.extraOptions.settings` instead.")
203+
) "You can use `${opts.extraOptions}.settings` instead.")
205204
(lib.mkRemovedOptionModule (basePluginPath ++ [ "rootDir" ]) ''
206205
207206
nvim-lspconfig has switched from its own `root_dir` implementation to using neovim's built-in LSP API.

0 commit comments

Comments
 (0)