Julia 1.13 News.md says:
" The REPL now provides syntax highlighting for input as you type. See the REPL docs for more info about customization."
Julia 1.13 REPL doc says:
“The REPL provides syntax highlighting for input as you type. Syntax highlighting is enabled by default…”
But I’m not seeing any highlighting in 1.13:
By contrast, this was my experience in 1.12 with OhMyREPL:
However, OhMyREPL.jl is incompatible with 1.13 and supposedly redundant with it, but that has not been my experience during the beta and now release of 1.13. (I never did receive any official responses.) How do I get that functionality back?
Everything is in the Julia documentation: The Julia REPL · The Julia Language
TLDR; this is a faces.toml file in ~/.julia/config/ and you can look at the possible properties at JuliaSyntaxHighlighting · Julia Syntax Highlighting
There aren’t any default configuration options provided?!
Also, if I have to manually set a static file, it won’t adapt if I change my terminal theme (background color), and I’ll have to start over.
nhz2
September 10, 2026, 3:44pm
5
It would be cool if there was a Julia package that has a bunch of REPL color themes to preview and choose from.
Keno
September 10, 2026, 3:44pm
6
The highlighting is enabled by default, try e.g. "foo" to see string highlighting. The default theme just doesn’t have highlights in your example expression.
The Monokai example in the docs is functional for now (though brighter than I’d like).
~/.julia/config/faces.toml
# Monokai color theme for Julia syntax highlighting
[julia_macro]
foreground = "#A6E22E"
[julia_symbol]
foreground = "#AE81FF"
[julia_singleton_identifier]
inherit = "julia_symbol"
[julia_type]
foreground = "#66D9EF"
[julia_typedec]
foreground = "#66D9EF"
weight = "bold"
[julia_comment]
foreground = "#75715E"
italic = true
[julia_string]
foreground = "#E6DB74"
[julia_regex]
inherit = "julia_string"
[julia_backslash_literal]
foreground = "#FD971F"
inherit = "julia_string"
[julia_string_delim]
foreground = "#E6DB74"
weight = "bold"
[julia_cmdstring]
inherit = "julia_string"
[julia_char]
inherit = "julia_string"
[julia_char_delim]
inherit = "julia_string_delim"
[julia_number]
foreground = "#AE81FF"
[julia_bool]
foreground = "#AE81FF"
weight = "bold"
[julia_funcall]
foreground = "#A6E22E"
[julia_broadcast]
foreground = "#F92672"
weight = "bold"
[julia_builtin]
foreground = "#66D9EF"
weight = "bold"
[julia_operator]
foreground = "#F92672"
[julia_comparator]
inherit = "julia_operator"
[julia_assignment]
foreground = "#F92672"
weight = "bold"
[julia_keyword]
foreground = "#F92672"
weight = "bold"
[julia_parentheses]
foreground = "#F8F8F2"
[julia_unpaired_parentheses]
background = "#F92672"
foreground = "#F8F8F0"
weight = "bold"
[julia_error]
background = "#F92672"
foreground = "#F8F8F0"
[julia_rainbow_paren_1]
foreground = "#A6E22E"
inherit = "julia_parentheses"
[julia_rainbow_paren_2]
foreground = "#66D9EF"
inherit = "julia_parentheses"
[julia_rainbow_paren_3]
foreground = "#FD971F"
inherit = "julia_parentheses"
[julia_rainbow_paren_4]
inherit = "julia_rainbow_paren_1"
[julia_rainbow_paren_5]
inherit = "julia_rainbow_paren_2"
[julia_rainbow_paren_6]
inherit = "julia_rainbow_paren_3"
# Rainbow brackets
[julia_rainbow_bracket_1]
foreground = "#AE81FF"
inherit = "julia_parentheses"
[julia_rainbow_bracket_2]
foreground = "#E6DB74"
inherit = "julia_parentheses"
[julia_rainbow_bracket_3]
inherit = "julia_rainbow_bracket_1"
[julia_rainbow_bracket_4]
inherit = "julia_rainbow_bracket_2"
[julia_rainbow_bracket_5]
inherit = "julia_rainbow_bracket_1"
[julia_rainbow_bracket_6]
inherit = "julia_rainbow_bracket_2"
# Rainbow curlies
[julia_rainbow_curly_1]
foreground = "#F92672"
inherit = "julia_parentheses"
[julia_rainbow_curly_2]
foreground = "#A6E22E"
inherit = "julia_parentheses"
[julia_rainbow_curly_3]
inherit = "julia_rainbow_curly_1"
[julia_rainbow_curly_4]
inherit = "julia_rainbow_curly_2"
[julia_rainbow_curly_5]
inherit = "julia_rainbow_curly_1"
[julia_rainbow_curly_6]
inherit = "julia_rainbow_curly_2"
I still wish I could just keep using OhMyREPL.jl though. It is much easier to use.
Is there a place where different color themes are being collected? If someone has already beaten me to setting up Solarized Light, that would be nice!