branch: elpa/julia-mode commit e4f0b0254c77261f7a771f907908f2d905d6dd13 Author: Wilfred Hughes <m...@wilfred.me.uk> Commit: Yichao Yu <yyc1...@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