fix: separate gutter bars visually from line numbers

This commit is contained in:
2026-10-13 20:49:20 +02:00
parent 55cdee1a13
commit fd59c05f80
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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, ""),