Skip to content

Commit

Permalink
New faces for stacktrace printing in Base
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed Feb 1, 2024
1 parent 0af21d0 commit 57619c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/faces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,14 @@ const FACES = let default = Dict{Symbol, Face}(
:info => Face(foreground=:bright_cyan),
:note => Face(foreground=:grey),
:tip => Face(foreground=:bright_green),
# Stacktraces (on behalf of Base)
:julia_stacktrace_frameindex => Face(),
:julia_stacktrace_location => Face(inherit=:shadow),
:julia_stacktrace_filename => Face(underline=true, inherit=:julia_stacktrace_location),
:julia_stacktrace_fileline => Face(inherit=:julia_stacktrace_filename),
:julia_stacktrace_repetition => Face(inherit=:warning),
:julia_stacktrace_inlined => Face(inherit=:julia_stacktrace_repetition),
:julia_stacktrace_basemodule => Face(inherit=:shadow),
# Log messages
:log_error => Face(inherit=[:error, :bold]),
:log_warn => Face(inherit=[:warning, :bold]),
Expand Down

0 comments on commit 57619c2

Please sign in to comment.