Skip to content

Commit 57619c2

Browse files
committed
New faces for stacktrace printing in Base
1 parent 0af21d0 commit 57619c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/faces.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,14 @@ const FACES = let default = Dict{Symbol, Face}(
318318
:info => Face(foreground=:bright_cyan),
319319
:note => Face(foreground=:grey),
320320
:tip => Face(foreground=:bright_green),
321+
# Stacktraces (on behalf of Base)
322+
:julia_stacktrace_frameindex => Face(),
323+
:julia_stacktrace_location => Face(inherit=:shadow),
324+
:julia_stacktrace_filename => Face(underline=true, inherit=:julia_stacktrace_location),
325+
:julia_stacktrace_fileline => Face(inherit=:julia_stacktrace_filename),
326+
:julia_stacktrace_repetition => Face(inherit=:warning),
327+
:julia_stacktrace_inlined => Face(inherit=:julia_stacktrace_repetition),
328+
:julia_stacktrace_basemodule => Face(inherit=:shadow),
321329
# Log messages
322330
:log_error => Face(inherit=[:error, :bold]),
323331
:log_warn => Face(inherit=[:warning, :bold]),

0 commit comments

Comments
 (0)