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

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

[nongnu] elpa/julia-mode 419dfd9 090/352: fix to "in" syntax highlightin


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 419dfd9 090/352: fix to "in" syntax highlighting
Date: Sun, 29 Aug 2021 11:22:21 -0400 (EDT)

branch: elpa/julia-mode
commit 419dfd9ce8be77d9d1761052a0fe3b98925f3025
Author: Jeff Bezanson <jeff.bezanson@gmail.com>
Commit: Yichao Yu <yyc1992@gmail.com>

    fix to "in" syntax highlighting
    small change to isperm
---
 julia-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 036faa1..9edbd7d 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -57,7 +57,7 @@
   "\\(\\s(\\|\\s-\\|-\\|[,%=<>\\+*/?&|!\\^~\\\\;:]\\|^\\)\\($[a-zA-Z0-9_]+\\)")
 
 (defconst julia-forloop-in-regex
-  "for +[^     
]+ +.*\\(in\\)\\(\\s-\\|$\\)+")
+  "for +.*[^   
].* \\(in\\)\\(\\s-\\|$\\)+")
 
 (defconst julia-font-lock-keywords
   (list 
'("\\<\\(\\|Uint\\(8\\|16\\|32\\|64\\)\\|Int\\(8\\|16\\|32\\|64\\)\\|Integer\\|Float\\|Float32\\|Float64\\|Complex128\\|Complex64\\|ComplexNum\\|Bool\\|Char\\|Number\\|Scalar\\|Real\\|Int\\|Uint\\|Array\\|DArray\\|AbstractArray\\|AbstractVector\\|AbstractMatrix\\|SubArray\\|StridedArray\\|StridedVector\\|StridedMatrix\\|VecOrMat\\|StridedVecOrMat\\|Range\\|Range1\\|SparseMatrixCSC\\|Tuple\\|NTuple\\|Buffer\\|Size\\|Index\\|Symbol\\|Function\\|Vector\\|Matrix\\|Union\\|Type\\|Any\
 [...]



reply via email to

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