Merge pull request #1078 from zed-industries/lsp-hover

LSP Hover Information
This commit is contained in:
Keith Simmons
2022-06-07 14:45:43 -07:00
committed by GitHub
27 changed files with 1854 additions and 989 deletions
+9
View File
@@ -452,6 +452,7 @@ pub struct Editor {
pub autocomplete: AutocompleteStyle,
pub code_actions_indicator: Color,
pub unnecessary_code_fade: f32,
pub hover_popover: HoverPopover,
}
#[derive(Clone, Deserialize, Default)]
@@ -630,3 +631,11 @@ impl<'de> Deserialize<'de> for SyntaxTheme {
Ok(result)
}
}
#[derive(Clone, Deserialize, Default)]
pub struct HoverPopover {
pub container: ContainerStyle,
pub block_style: ContainerStyle,
pub prose: TextStyle,
pub highlight: Color,
}