mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-08 01:51:05 +01:00
modules/lsp: rename server settings → config
See RFC: https://github.com/nix-community/nixvim/issues/3745
This effectively reverts 21688b1d2a
This commit is contained in:
parent
57006a3ace
commit
9f336d2d71
8 changed files with 30 additions and 29 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue