1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-08 01:51:05 +01:00

modules/lsp: rename server settingsconfig

See RFC: https://github.com/nix-community/nixvim/issues/3745

This effectively reverts 21688b1d2a
This commit is contained in:
Matt Sturgeon 2025-10-03 20:07:13 +01:00
parent 57006a3ace
commit 9f336d2d71
8 changed files with 30 additions and 29 deletions

View file

@ -2,7 +2,7 @@
{
name ? "the language server",
package ? null,
settings ? null,
config ? null,
pkgs ? { },
}@args:
{
@ -64,14 +64,14 @@ in
'';
};
settings = lib.mkOption {
config = lib.mkOption {
type = with types; attrsOf anything;
description = ''
Configurations for ${displayName}. ${settings.extraDescription or ""}
Configurations for ${displayName}. ${args.config.extraDescription or ""}
'';
default = { };
example =
settings.example or {
args.config.example or {
cmd = [
"clangd"
"--background-index"