[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 569d41a 206/352: julia-mode.el: stagedfunction,
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 569d41a 206/352: julia-mode.el: stagedfunction, @[no]inline, indented functions, "=:symbol" |
Date: |
Sun, 29 Aug 2021 11:22:46 -0400 (EDT) |
branch: elpa/julia-mode
commit 569d41a6a4249ee1e12a84f33c0136b08f637787
Author: Rafael Fourquet <fourquet.rafael@gmail.com>
Commit: Yichao Yu <yyc1992@gmail.com>
julia-mode.el: stagedfunction, @[no]inline, indented functions, "=:symbol"
---
julia-mode.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index e1974ca..c18fd2c 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -139,7 +139,8 @@ This function provides equivalent functionality, but makes
no efforts to optimis
].* \\(in\\)\\(\\s-\\|$\\)+")
(defconst julia-function-regex
- (rx line-start symbol-start "function"
+ (rx line-start (* (or space "@inline" "@noinline")) symbol-start
+ (or "function" "stagedfunction")
(1+ space)
;; Don't highlight module names in function declarations:
(* (seq (1+ (or word (syntax symbol))) "."))
@@ -147,7 +148,7 @@ This function provides equivalent functionality, but makes
no efforts to optimis
(group (1+ (or word (syntax symbol))))))
(defconst julia-function-assignment-regex
- (rx line-start symbol-start
+ (rx line-start (* (or space "@inline" "@noinline")) symbol-start
(* (seq (1+ (or word (syntax symbol))) ".")) ; module name
(group (1+ (or word (syntax symbol))))
(* space)
@@ -178,7 +179,7 @@ This function provides equivalent functionality, but makes
no efforts to optimis
(defconst julia-keyword-regex
(julia--regexp-opt
'("if" "else" "elseif" "while" "for" "begin" "end" "quote"
- "try" "catch" "return" "local" "abstract" "function" "macro" "ccall"
+ "try" "catch" "return" "local" "abstract" "function" "stagedfunction"
"macro" "ccall"
"finally" "typealias" "break" "continue" "type" "global"
"module" "using" "import" "export" "const" "let" "bitstype" "do" "in"
"baremodule" "importall" "immutable")
@@ -212,7 +213,7 @@ This function provides equivalent functionality, but makes
no efforts to optimis
(defconst julia-quoted-symbol-regex
;; :foo and :foo2 are valid, but :123 is not.
- (rx (or whitespace "(" "[" ",")
+ (rx (or whitespace "(" "[" "," "=")
(group ":" (or letter (syntax symbol)) (0+ (or word (syntax symbol))))))
(defconst julia-font-lock-keywords
@@ -243,7 +244,7 @@ This function provides equivalent functionality, but makes
no efforts to optimis
))
(defconst julia-block-start-keywords
- (list "if" "while" "for" "begin" "try" "function" "type" "let" "macro"
+ (list "if" "while" "for" "begin" "try" "function" "stagedfunction" "type"
"let" "macro"
"quote" "do" "immutable"))
(defconst julia-block-end-keywords
- [nongnu] elpa/julia-mode e4b3428 244/352: Remove test branch in travis, add README, (continued)
- [nongnu] elpa/julia-mode e4b3428 244/352: Remove test branch in travis, add README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ad6a494 301/352: Merge pull request #78 from tpapp/tp/update-latexsubs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 109747e 132/352: eliminate StoredArray (fix #6212, #987); UniformScaling is no longer an AbstractArray (#5810), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 84d9a19 147/352: Fix emacs highlighting of symbols that contain keywords., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode fc04731 153/352: Highlight parameter types and subtypes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 70d6482 160/352: `throw` and `error` are built-in functions that we should highlight., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ba5ba4c 168/352: Highlight function names when defined with the assignment syntax., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode caab4dc 172/352: Respect the active region when indenting., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e5f8145 191/352: Use a separate face for Julia macro invocations., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 493fb7f 192/352: note #8947 in julia-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 569d41a 206/352: julia-mode.el: stagedfunction, @[no]inline, indented functions, "=:symbol",
ELPA Syncer <=
- [nongnu] elpa/julia-mode 6f075d7 224/352: Use syntax-propertize-function on Emacs 24., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 96499ff 209/352: Silence Emacs byte-compilation warnings., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c982fd6 216/352: Changed name of Emacs buffer to *Julia*, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7c1603c 226/352: Use more common name for indentation setting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode dd3d682 225/352: Fix Emacs 23 error., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 64d86a4 215/352: Added customization options, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c7e3232 218/352: some tuple redesign follow-ups, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5ee867e 211/352: Changed inferior-julia function in contrib/julia-mode.el to apply, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0c6673a 212/352: Changed input method for Julia Emacs buffer to TeX, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6781ef1 220/352: Fix #11673, bad indent after comments ending in =, ELPA Syncer, 2021/08/29