added formatter + reformat existing codebase (#175)

This commit is contained in:
Gaétan Lepage 2023-02-20 11:42:13 +01:00 committed by GitHub
parent 0bf4313f22
commit 264de8cefb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
96 changed files with 3727 additions and 3341 deletions

View file

@ -1,8 +1,9 @@
# THIS FILE IS AUTOGENERATED DO NOT EDIT
lib: with lib; {
lib:
with lib; {
"assist" = {
"expressionFillDefault" = mkOption {
type = types.nullOr (types.enum [ "todo" "default" ]);
type = types.nullOr (types.enum ["todo" "default"]);
default = null;
description = ''
Placeholder expression to use for missing expressions in assists.
@ -105,7 +106,7 @@ lib: with lib; {
};
};
"features" = mkOption {
type = types.nullOr (types.oneOf [ (types.enum [ "all" ]) (types.listOf (types.str)) ]);
type = types.nullOr (types.oneOf [(types.enum ["all"]) (types.listOf (types.str))]);
default = null;
description = ''
List of features to activate.
@ -217,7 +218,7 @@ lib: with lib; {
'';
};
"features" = mkOption {
type = types.nullOr (types.nullOr (types.oneOf [ (types.enum [ "all" ]) (types.listOf (types.str)) ]));
type = types.nullOr (types.nullOr (types.oneOf [(types.enum ["all"]) (types.listOf (types.str))]));
default = null;
description = ''
List of features to activate. Defaults to
@ -320,7 +321,7 @@ lib: with lib; {
};
"callable" = {
"snippets" = mkOption {
type = types.nullOr (types.enum [ "fill_arguments" "add_parentheses" "none" ]);
type = types.nullOr (types.enum ["fill_arguments" "add_parentheses" "none"]);
default = null;
description = ''
Whether to add parenthesis and argument snippets when completing function.
@ -508,7 +509,7 @@ lib: with lib; {
'';
};
"watcher" = mkOption {
type = types.nullOr (types.enum [ "client" "server" ]);
type = types.nullOr (types.enum ["client" "server"]);
default = null;
description = ''
Controls file watching implementation.
@ -727,7 +728,7 @@ lib: with lib; {
'';
};
"group" = mkOption {
type = types.nullOr (types.enum [ "preserve" "crate" "module" "item" ]);
type = types.nullOr (types.enum ["preserve" "crate" "module" "item"]);
default = null;
description = ''
How imports should be grouped into use statements.
@ -768,7 +769,7 @@ lib: with lib; {
};
};
"prefix" = mkOption {
type = types.nullOr (types.enum [ "plain" "self" "crate" ]);
type = types.nullOr (types.enum ["plain" "self" "crate"]);
default = null;
description = ''
The path structure for newly inserted paths to use.
@ -838,7 +839,7 @@ lib: with lib; {
};
"closureReturnTypeHints" = {
"enable" = mkOption {
type = types.nullOr (types.enum [ "always" "never" "with_block" ]);
type = types.nullOr (types.enum ["always" "never" "with_block"]);
default = null;
description = ''
Whether to show inlay type hints for return types of closures.
@ -852,7 +853,7 @@ lib: with lib; {
};
"lifetimeElisionHints" = {
"enable" = mkOption {
type = types.nullOr (types.enum [ "always" "never" "skip_trivial" ]);
type = types.nullOr (types.enum ["always" "never" "skip_trivial"]);
default = null;
description = ''
Whether to show inlay type hints for elided lifetimes in function signatures.
@ -905,7 +906,7 @@ lib: with lib; {
};
"reborrowHints" = {
"enable" = mkOption {
type = types.nullOr (types.enum [ "always" "never" "mutable" ]);
type = types.nullOr (types.enum ["always" "never" "mutable"]);
default = null;
description = ''
Whether to show inlay type hints for compiler inserted reborrows.
@ -1154,7 +1155,7 @@ lib: with lib; {
};
};
"linkedProjects" = mkOption {
type = types.nullOr (types.listOf (types.oneOf [ (types.str) (types.attrsOf types.anything) ]));
type = types.nullOr (types.listOf (types.oneOf [(types.str) (types.attrsOf types.anything)]));
default = null;
description = ''
Disable project auto-discovery in favor of explicitly specified set
@ -1471,7 +1472,7 @@ lib: with lib; {
};
"signatureInfo" = {
"detail" = mkOption {
type = types.nullOr (types.enum [ "full" "parameters" ]);
type = types.nullOr (types.enum ["full" "parameters"]);
default = null;
description = ''
Show full signature of the callable. Only shows parameters if disabled.
@ -1517,7 +1518,7 @@ lib: with lib; {
"symbol" = {
"search" = {
"kind" = mkOption {
type = types.nullOr (types.enum [ "only_types" "all_symbols" ]);
type = types.nullOr (types.enum ["only_types" "all_symbols"]);
default = null;
description = ''
Workspace symbol search kind.
@ -1543,7 +1544,7 @@ lib: with lib; {
'';
};
"scope" = mkOption {
type = types.nullOr (types.enum [ "workspace" "workspace_and_dependencies" ]);
type = types.nullOr (types.enum ["workspace" "workspace_and_dependencies"]);
default = null;
description = ''
Workspace symbol search scope.