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

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

[nongnu] elpa/julia-mode 9c6d2b8 081/352: emacs: allow any combination o


From: ELPA Syncer
Subject: [nongnu] elpa/julia-mode 9c6d2b8 081/352: emacs: allow any combination of spaces and newlines after "in" in for loop
Date: Sun, 29 Aug 2021 11:22:19 -0400 (EDT)

branch: elpa/julia-mode
commit 9c6d2b83b146d523b1eda954da9b5db9b39f89b1
Author: Jeff Bezanson <bezanson@post.harvard.edu>
Commit: Yichao Yu <yyc1992@gmail.com>

    emacs: allow any combination of spaces and newlines after "in" in for loop
---
 julia-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/julia-mode.el b/julia-mode.el
index 06398c4..d352a69 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\\) +")
+  "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]