fix: separate gutter bars visually from line numbers
This commit is contained in:
+2
-2
@@ -1788,7 +1788,7 @@ fn draw_document(
|
||||
let mut spans = vec![Span::styled(format!("{number:>digits$}"), style)];
|
||||
if marker_gutter {
|
||||
let marker = match (editor.gutter_style(), change) {
|
||||
(crate::gutter::GutterStyle::Bar, Some(_)) => "▌",
|
||||
(crate::gutter::GutterStyle::Bar, Some(_)) => "▐",
|
||||
(_, Some(crate::gutter::Change::Added)) => "+",
|
||||
(_, Some(crate::gutter::Change::Removed)) => "-",
|
||||
(_, Some(crate::gutter::Change::Modified)) => "~",
|
||||
@@ -14240,7 +14240,7 @@ end
|
||||
],
|
||||
));
|
||||
for (mode, marker) in [
|
||||
(GutterStyle::Bar, "▌"),
|
||||
(GutterStyle::Bar, "▐"),
|
||||
(GutterStyle::Symbols, "+"),
|
||||
(GutterStyle::LineNumbers, ""),
|
||||
(GutterStyle::None, ""),
|
||||
|
||||
Reference in New Issue
Block a user