Skip to content

Commit 4ad4a5c

Browse files
committed
More face inheriting
Particularly since we're simplifying the defaults so drastically, it's nice to be able to get sensible sets of similar styling with less effort.
1 parent 4e49522 commit 4ad4a5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/JuliaSyntaxHighlighting.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ const HIGHLIGHT_FACES = [
5454
# Julia syntax highlighting faces
5555
:julia_macro => Face(),
5656
:julia_symbol => Face(),
57-
:julia_singleton_identifier => Face(),
57+
:julia_singleton_identifier => Face(inherit=:julia_symbol),
5858
:julia_type => Face(),
59-
:julia_typedec => Face(),
59+
:julia_typedec => Face(inherit=:julia_operator),
6060
:julia_comment => Face(foreground=:grey),
6161
:julia_string => Face(foreground=:green),
6262
:julia_regex => Face(),
@@ -69,10 +69,10 @@ const HIGHLIGHT_FACES = [
6969
:julia_number => Face(),
7070
:julia_bool => Face(),
7171
:julia_funcall => Face(),
72-
:julia_broadcast => Face(),
72+
:julia_broadcast => Face(inherit=:julia_operator),
7373
:julia_builtin => Face(),
7474
:julia_operator => Face(),
75-
:julia_comparator => Face(),
75+
:julia_comparator => Face(inherit=:julia_operator),
7676
:julia_assignment => Face(),
7777
:julia_keyword => Face(foreground=:red),
7878
:julia_parentheses => Face(),

0 commit comments

Comments
 (0)