Skip to content

Commit 134963b

Browse files
nixvim-ci[bot]MattSturgeon
authored andcommitted
generated: Updated rust-analyzer.nix
1 parent c601e13 commit 134963b

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

generated/rust-analyzer.nix

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@
2828
];
2929
};
3030
};
31+
"rust-analyzer.assist.preferSelf" = {
32+
description = ''
33+
When inserting a type (e.g. in "fill match arms" assist), prefer to use `Self` over the type name where possible.
34+
'';
35+
pluginDefault = false;
36+
type = {
37+
kind = "boolean";
38+
};
39+
};
3140
"rust-analyzer.assist.termSearch.borrowcheck" = {
3241
description = ''
3342
Enable borrow checking for term search code assists. If set to false, also there will be more suggestions, but some of them may not borrow-check.
@@ -896,6 +905,15 @@
896905
];
897906
};
898907
};
908+
"rust-analyzer.highlightRelated.branchExitPoints.enable" = {
909+
description = ''
910+
Enables highlighting of related return values while the cursor is on any `match`, `if`, or match arm arrow (`=>`).
911+
'';
912+
pluginDefault = true;
913+
type = {
914+
kind = "boolean";
915+
};
916+
};
899917
"rust-analyzer.highlightRelated.breakPoints.enable" = {
900918
description = ''
901919
Enables highlighting of related references while the cursor is on `break`, `loop`, `while`, or `for` keywords.
@@ -2305,7 +2323,11 @@
23052323
};
23062324
"rust-analyzer.workspace.symbol.search.excludeImports" = {
23072325
description = ''
2308-
Exclude imports from symbol search.
2326+
Exclude all imports from workspace symbol search.
2327+
2328+
In addition to regular imports (which are always excluded),
2329+
this option removes public imports (better known as re-exports)
2330+
and removes imports that rename the imported symbol.
23092331
'';
23102332
pluginDefault = false;
23112333
type = {

0 commit comments

Comments
 (0)