1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00

plugins/lsp: simplify extraSettings deprecation

This commit is contained in:
Matt Sturgeon 2025-09-28 22:56:49 +01:00 committed by Gaétan Lepage
parent 167ea865e5
commit 1c802b3efe

View file

@ -196,12 +196,11 @@ in
"servers" "servers"
]; ];
basePluginPath = basePath ++ [ name ]; basePluginPath = basePath ++ [ name ];
basePluginPathString = builtins.concatStringsSep "." basePluginPath;
in in
[ [
(lib.mkRemovedOptionModule ( (lib.mkRemovedOptionModule (
basePluginPath ++ [ "extraSettings" ] basePluginPath ++ [ "extraSettings" ]
) "You can use `${basePluginPathString}.extraOptions.settings` instead.") ) "You can use `${opts.extraOptions}.settings` instead.")
(lib.mkRemovedOptionModule (basePluginPath ++ [ "rootDir" ]) '' (lib.mkRemovedOptionModule (basePluginPath ++ [ "rootDir" ]) ''
nvim-lspconfig has switched from its own `root_dir` implementation to using neovim's built-in LSP API. nvim-lspconfig has switched from its own `root_dir` implementation to using neovim's built-in LSP API.