Update the styling of the lsp status indicator
This commit is contained in:
parent
a3700e0dd8
commit
e88156645d
12 changed files with 369 additions and 99 deletions
|
@ -143,10 +143,9 @@ pub struct StatusBar {
|
|||
pub height: f32,
|
||||
pub item_spacing: f32,
|
||||
pub cursor_position: TextStyle,
|
||||
pub diagnostic_message: TextStyle,
|
||||
pub lsp_message: TextStyle,
|
||||
pub auto_update_progress_message: TextStyle,
|
||||
pub auto_update_done_message: TextStyle,
|
||||
pub lsp_status: StatusBarLspStatus,
|
||||
pub sidebar_buttons: StatusBarSidebarButtons,
|
||||
pub diagnostics: StatusBarDiagnostics,
|
||||
}
|
||||
|
@ -178,6 +177,20 @@ pub struct StatusBarDiagnostics {
|
|||
pub summary_spacing: f32,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct StatusBarLspStatus {
|
||||
#[serde(flatten)]
|
||||
pub container: ContainerStyle,
|
||||
pub height: f32,
|
||||
pub container_hover: ContainerStyle,
|
||||
pub icon_spacing: f32,
|
||||
pub icon_color: Color,
|
||||
pub icon_color_hover: Color,
|
||||
pub icon_width: f32,
|
||||
pub message: TextStyle,
|
||||
pub message_hover: TextStyle,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Default)]
|
||||
pub struct Sidebar {
|
||||
pub resize_handle: ContainerStyle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue