emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/julia-mode 1b6b38c 154/352: Don't highlight that that happ


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 1b6b38c 154/352: Don't highlight that that happens to contain a constant.
Date: Sun, 29 Aug 2021 11:22:35 -0400 (EDT)

branch: elpa/julia-mode
commit 1b6b38c58c7cb83019c4d21387404373701baf13
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Yichao Yu <yyc1992@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]