aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/graphics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view/src/graphics.rs')
-rw-r--r--helix-view/src/graphics.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/helix-view/src/graphics.rs b/helix-view/src/graphics.rs
index 01344748..4374a537 100644
--- a/helix-view/src/graphics.rs
+++ b/helix-view/src/graphics.rs
@@ -365,16 +365,16 @@ bitflags! {
///
/// let m = Modifier::BOLD | Modifier::ITALIC;
/// ```
- #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize), serde(rename_all = "kebab-case"))]
+ #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Modifier: u16 {
- const BOLD = 0b0000_0000_0000_0001;
- const DIM = 0b0000_0000_0000_0010;
- const ITALIC = 0b0000_0000_0000_0100;
- const SLOW_BLINK = 0b0000_0000_0001_0000;
- const RAPID_BLINK = 0b0000_0000_0010_0000;
- const REVERSED = 0b0000_0000_0100_0000;
- const HIDDEN = 0b0000_0000_1000_0000;
- const CROSSED_OUT = 0b0000_0001_0000_0000;
+ const BOLD = 0b0000_0000_0001;
+ const DIM = 0b0000_0000_0010;
+ const ITALIC = 0b0000_0000_0100;
+ const SLOW_BLINK = 0b0000_0001_0000;
+ const RAPID_BLINK = 0b0000_0010_0000;
+ const REVERSED = 0b0000_0100_0000;
+ const HIDDEN = 0b0000_1000_0000;
+ const CROSSED_OUT = 0b0001_0000_0000;
}
}