Add a setting for keyword hover popups
This commit is contained in:
@@ -244,6 +244,9 @@ config_data! {
|
||||
|
||||
/// Whether to show documentation on hover.
|
||||
hover_documentation_enable: bool = "true",
|
||||
/// Whether to show keyword hover popups. Only applies when
|
||||
/// `#rust-analyzer.hover.documentation.enable#` is set.
|
||||
hover_documentation_keywords: bool = "true",
|
||||
/// Use markdown syntax for links in hover.
|
||||
hover_links_enable: bool = "true",
|
||||
|
||||
@@ -1187,6 +1190,7 @@ impl Config {
|
||||
HoverDocFormat::PlainText
|
||||
}
|
||||
}),
|
||||
keywords: self.data.hover_documentation_keywords,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user