[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 1dca28b 077/352: adding "for i in x" syntax
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 1dca28b 077/352: adding "for i in x" syntax |
Date: |
Sun, 29 Aug 2021 11:22:18 -0400 (EDT) |
branch: elpa/julia-mode
commit 1dca28b61f06a60e3909acc7bc4ff570f441f9dd
Author: Jeff Bezanson <bezanson@post.harvard.edu>
Commit: Yichao Yu <yyc1992@gmail.com>
adding "for i in x" syntax
---
julia-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/julia-mode.el b/julia-mode.el
index db34000..c9910d9 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -56,6 +56,9 @@
(defconst julia-unquote-regex
"\\(\\s(\\|\\s-\\|-\\|[,%=<>\\+*/?&|!\\^~\\\\;:]\\|^\\)\\($[a-zA-Z0-9_]+\\)")
+(defconst julia-forloop-in-regex
+ "for +[^
]+ +.*\\(in\\) +")
+
(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\
[...]
font-lock-type-face)
@@ -72,6 +75,7 @@
'("\\<\\(true\\|false\\|C_NULL\\)\\>" . font-lock-constant-face)
(list julia-unquote-regex 2 'font-lock-constant-face)
(list julia-char-regex 2 'font-lock-string-face)
+ (list julia-forloop-in-regex 1 'font-lock-keyword-face)
;(list julia-string-regex 0 'font-lock-string-face)
))
- [nongnu] elpa/julia-mode a4b62e7 112/352: misc changes for immutable types, updating comments, adding keyword, (continued)
- [nongnu] elpa/julia-mode a4b62e7 112/352: misc changes for immutable types, updating comments, adding keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4be7bab 111/352: fix #2336, julia-in-comment in emacs mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode bfa6d83 103/352: major update to modules:, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2316ad7 093/352: implement "do" block syntax. closes #441, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b58ccd0 104/352: Begin work on sparse unary operators., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e7ebf35 031/352: adding let syntax:, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a6f55cb 052/352: .mailmap: someone is a scooby fan., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8af8e30 073/352: improving regex in last commit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 560a531 079/352: Update mailmap, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6cf00ca 080/352: Fix the .mailmap fix; add another alias for Jeff; standard sorting., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1dca28b 077/352: adding "for i in x" syntax,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 9c6d2b8 081/352: emacs: allow any combination of spaces and newlines after "in" in for loop, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5c12fc2 084/352: Raise issue and possible fix re emacs indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0d4a8f6 091/352: fix #852, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 69f50e9 085/352: fix #622, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 856e45d 096/352: long-needed update to type names in julia-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7f70ddb 095/352: fix to julia-mode for indenting argument lists, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0f07dca 106/352: add "finally", and other exception improvements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7c0cfff 130/352: base StridedArray on the abstract DenseArray. closes #2345, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 3b5f6b0 105/352: make "using Base" implicit, and add baremodule. closes #1522, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 81e46b1 129/352: Update cjh in .mailmap, ELPA Syncer, 2021/08/29