branch: elpa/julia-mode
commit 45e165062cbffa5ad301ca24c980978cbfe8392e
Author: Wilfred Hughes <m...@wilfred.me.uk>
Commit: Yichao Yu <yyc1...@gmail.com>

    Correcting type regex.
---
 julia-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 2ffd7cb..724b6db 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -108,7 +108,7 @@
   (rx symbol-start "function" (1+ space) (group (1+ (or word ?_ ?!)))))
 
 (defconst julia-type-regex
-  (rx symbol-start (or "function" "type" "abstract") (1+ space) (group (1+ (or 
word ?_)))))
+  (rx symbol-start (or "immutable" "type" "abstract") (1+ space) (group (1+ 
(or word ?_)))))
 
 (defconst julia-type-annotation-regex
   (rx "::" (group (1+ (or word ?_)))))

Reply via email to