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
|
|
@ -10,7 +10,7 @@
|
|||
inherit (lib) genAttrs;
|
||||
inherit (lib.meta) getExe;
|
||||
inherit (lib.types) enum listOf;
|
||||
inherit (lib.nvim.types) mkGrammarOption;
|
||||
inherit (lib.nvim.types) mkGrammarOption enumWithRename;
|
||||
inherit (lib.nvim.attrsets) mapListToAttrs;
|
||||
|
||||
cfg = config.vim.languages.terraform;
|
||||
|
|
@ -53,7 +53,13 @@ in {
|
|||
defaultText = literalExpression "config.vim.lsp.enable";
|
||||
};
|
||||
servers = mkOption {
|
||||
type = listOf (enum servers);
|
||||
type = listOf (enumWithRename
|
||||
"vim.languages.terraform.lsp.servers"
|
||||
servers
|
||||
{
|
||||
terraformls-tf = "terraform-ls";
|
||||
tofuls-tf = "tofu-ls";
|
||||
});
|
||||
default = defaultServers;
|
||||
description = "Terraform LSP server to use";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue