mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
update for review
This commit is contained in:
parent
2e87f31fe9
commit
dba67b46a1
10 changed files with 65 additions and 39 deletions
|
@ -368,6 +368,9 @@ config_data! {
|
|||
/// How to render the size information in a memory layout hover.
|
||||
hover_memoryLayout_size: Option<MemoryLayoutHoverRenderKindDef> = "\"both\"",
|
||||
|
||||
/// How many associated items of a trait to display when hovering a trait.
|
||||
hover_show_traitAssocItems: Option<usize> = "null",
|
||||
|
||||
/// Whether to enforce the import granularity setting for all files. If set to false rust-analyzer will try to keep import styles consistent per file.
|
||||
imports_granularity_enforce: bool = "false",
|
||||
/// How imports should be grouped into use statements.
|
||||
|
@ -590,9 +593,6 @@ config_data! {
|
|||
/// Show documentation.
|
||||
signatureInfo_documentation_enable: bool = "true",
|
||||
|
||||
/// How many trait item display on hover.
|
||||
traitItemDisplayNum: Option<usize> = "7",
|
||||
|
||||
/// Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.
|
||||
typing_autoClosingAngleBrackets_enable: bool = "false",
|
||||
|
||||
|
@ -1685,7 +1685,7 @@ impl Config {
|
|||
}
|
||||
},
|
||||
keywords: self.data.hover_documentation_keywords_enable,
|
||||
trait_item_display_num: self.data.traitItemDisplayNum,
|
||||
trait_assoc_items_size: self.data.hover_show_traitAssocItems,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue