branch: elpa/julia-mode
commit 419dfd9ce8be77d9d1761052a0fe3b98925f3025
Author: Jeff Bezanson <[email protected]>
Commit: Yichao Yu <[email protected]>
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\
[...]