[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 1332b74 262/352: update for changed type keywor
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 1332b74 262/352: update for changed type keywords in 0.6 |
Date: |
Sun, 29 Aug 2021 11:22:58 -0400 (EDT) |
branch: elpa/julia-mode
commit 1332b74fb13cf3d098ce5f5065c73dac00dfd637
Author: Jeff Bezanson <jeff.bezanson@gmail.com>
Commit: Jeff Bezanson <jeff.bezanson@gmail.com>
update for changed type keywords in 0.6
---
julia-mode.el | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 48cffa5..7f90080 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -240,7 +240,9 @@ This function provides equivalent functionality, but makes
no efforts to optimis
(not (any "="))))
(defconst julia-type-regex
- (rx symbol-start (or "immutable" "type" "abstract") (1+ space) (group (1+
(or word (syntax symbol))))))
+ (rx symbol-start (or "immutable" "type" ;; remove after 0.6
+ "abstract type" "primitive type" "struct" "mutable
struct")
+ (1+ space) (group (1+ (or word (syntax symbol))))))
(defconst julia-type-annotation-regex
(rx "::" (0+ space) (group (1+ (or word (syntax symbol))))))
@@ -257,10 +259,12 @@ 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"
- "finally" "typealias" "break" "continue" "type" "global"
- "module" "using" "import" "export" "const" "let" "bitstype" "do" "in"
- "baremodule" "importall" "immutable")
+ "try" "catch" "return" "local" "function" "macro" "ccall"
+ "finally" "break" "continue" "global"
+ "module" "using" "import" "export" "const" "let" "do" "in"
+ "baremodule" "importall"
+ "immutable" "type" "bitstype" "abstract" "typealias" ;; remove after 0.6
+ "abstract type" "primitive type" "struct" "mutable struct")
'symbols))
(defconst julia-builtin-regex
@@ -322,8 +326,10 @@ 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"
- "quote" "do" "immutable" "module"))
+ (list "if" "while" "for" "begin" "try" "function" "let" "macro"
+ "quote" "do" "module"
+ "immutable" "type" ;; remove after 0.6
+ "abstract type" "primitive type" "struct" "mutable struct"))
;; For keywords that begin a block without additional indentation
(defconst julia-block-start-keywords-no-indent
- [nongnu] elpa/julia-mode e10a730 056/352: FFT of real vectors as well, (continued)
- [nongnu] elpa/julia-mode e10a730 056/352: FFT of real vectors as well, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7065601 138/352: julia-mode symbol-table update from #7018, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5d693ab 349/352: Fix CI using actions. (#160), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 307b42b 189/352: If the previous line has a trailing =, that should take precedence over blocks., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode c4a75b4 271/352: update short function syntax w.r.t. spaces, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9d08954 292/352: Update keywords and builtin types to Julia 1.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9edff28 291/352: Merge pull request #68 from nverno/fix-compilation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 999569b 297/352: Update substitutions to include emoji, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 3adce47 296/352: highlight ∈ in `for var ∈ …` ( fix #71 ), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 181c919 040/352: adding a full interface to select and FD sets, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1332b74 262/352: update for changed type keywords in 0.6,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 0f064b7 280/352: Enable color in inferior julia, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode ec01995 285/352: Merge pull request #54 from jamii/patch-1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 68181e6 293/352: Replace IntSet by BitSet, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode cb6d4bd 267/352: Fix badge URL, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6a0f756 288/352: Merge pull request #67 from tpapp/tp/latexsubs, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0d9a793 287/352: Move LaTeX substitutions to a separate file, clean up generating script., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode deda1e2 284/352: Add test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 69439e2 055/352: Fix Stephan's last name in .mailmap., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5762e13 133/352: remove * and div for Char, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 40c5e82 185/352: Fix indentation when we're indenting a line that has an open paren after point., ELPA Syncer, 2021/08/29