branch: elpa/julia-mode commit 1b6b38c58c7cb83019c4d21387404373701baf13 Author: Wilfred Hughes <m...@wilfred.me.uk> Commit: Yichao Yu <yyc1...@gmail.com>
Don't highlight that that happens to contain a constant. For example, `Inf` in `StaticVarInfo`. --- julia-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/julia-mode.el b/julia-mode.el index ef22798..9361406 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -139,7 +139,8 @@ (cons julia-macro-regex 'font-lock-keyword-face) (cons (regexp-opt - '("true" "false" "C_NULL" "Inf" "NaN" "Inf32" "NaN32" "nothing")) + '("true" "false" "C_NULL" "Inf" "NaN" "Inf32" "NaN32" "nothing") + 'symbols) 'font-lock-constant-face) (list julia-unquote-regex 2 'font-lock-constant-face) (list julia-char-regex 2 'font-lock-string-face)