mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-04-27 11:55:22 +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.meta) getExe;
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.types) enum listOf;
|
||||
inherit (lib.nvim.types) mkGrammarOption deprecatedSingleOrListOf;
|
||||
inherit (lib.nvim.types) mkGrammarOption deprecatedSingleOrListOf enumWithRename;
|
||||
inherit (lib.nvim.attrsets) mapListToAttrs;
|
||||
|
||||
cfg = config.vim.languages.css;
|
||||
|
|
@ -56,7 +56,12 @@ in {
|
|||
};
|
||||
|
||||
servers = mkOption {
|
||||
type = listOf (enum servers);
|
||||
type = listOf (enumWithRename
|
||||
"vim.languages.css.lsp.servers"
|
||||
servers
|
||||
{
|
||||
cssls = "vscode-css-language-server";
|
||||
});
|
||||
default = defaultServer;
|
||||
description = "CSS LSP server to use";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue