chore: add language.<name>.lsp.servers deprecation information

This commit is contained in:
Snoweuph 2026-04-14 00:51:36 +02:00
commit ec8a66bb3c
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
16 changed files with 126 additions and 33 deletions

View file

@ -9,7 +9,7 @@
inherit (lib) genAttrs;
inherit (lib.meta) getExe;
inherit (lib.modules) mkIf mkMerge;
inherit (lib.nvim.types) mkGrammarOption diagnostics deprecatedSingleOrListOf;
inherit (lib.nvim.types) mkGrammarOption diagnostics deprecatedSingleOrListOf enumWithRename;
inherit (lib.types) enum listOf;
inherit (lib.nvim.attrsets) mapListToAttrs;
@ -56,7 +56,12 @@ in {
};
servers = mkOption {
type = listOf (enum servers);
type = listOf (enumWithRename
"vim.languages.ruby.lsp.servers"
servers
{
ruby_lsp = "ruby-lsp";
});
default = defaultServers;
description = "Ruby LSP server to use";
};