mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-27 03:47:37 +00:00
chore: add language.<name>.lsp.servers deprecation information
This commit is contained in:
parent
a3aa4e49d1
commit
ec8a66bb3c
16 changed files with 126 additions and 33 deletions
|
|
@ -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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue