Skip to content

Commit

Permalink
use warning color as default and update icons being used for verified…
Browse files Browse the repository at this point in the history
… and unverified breakpoints
  • Loading branch information
EricHenry committed Mar 6, 2023
1 parent 555161c commit 509d87d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion helix-view/src/gutter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ pub fn breakpoints<'doc>(
theme: &Theme,
_is_focused: bool,
) -> GutterFn<'doc> {
let warning = theme.get("warning");
let error = theme.get("error");
let info = theme.get("info");

Expand All @@ -278,7 +279,7 @@ pub fn breakpoints<'doc>(
} else if breakpoint.log_message.is_some() {
info
} else {
error
warning
};

if !breakpoint.verified {
Expand Down
4 changes: 2 additions & 2 deletions runtime/icons/nerdfonts.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ info = {icon = ""}
hint = {icon = ""}

[breakpoint]
verified = {icon = ""}
unverified = {icon = ""}
verified = {icon = ""}
unverified = {icon = ""}

[diff]
added = {icon = ""}
Expand Down

0 comments on commit 509d87d

Please sign in to comment.