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

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

[nongnu] elpa/julia-mode e4f0b02 167/352: Ensure ! in a macro invocation


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode e4f0b02 167/352: Ensure ! in a macro invocation is highlighted correctly.
Date: Sun, 29 Aug 2021 11:22:37 -0400 (EDT)

branch: elpa/julia-mode
commit e4f0b0254c77261f7a771f907908f2d905d6dd13
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Yichao Yu <yyc1992@gmail.com>

    Ensure ! in a macro invocation is highlighted correctly.
---
 julia-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 59c14e0..7a52c88 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -126,7 +126,7 @@
   (rx "<:" (1+ space) (group (1+ (or word ?_))) (0+ space) (or "\n" "{" 
"end")))
 
 (defconst julia-macro-regex
-  "@\\w+")
+  (rx symbol-start (group  "@" (1+ (or word ?_ ?!)))))
 
 (defconst julia-keyword-regex
   (regexp-opt



reply via email to

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