[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 9c36479 264/352: Merge pull request #36 from Ju
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 9c36479 264/352: Merge pull request #36 from JuliaEditorSupport/jb/typekeywords |
Date: |
Sun, 29 Aug 2021 11:22:58 -0400 (EDT) |
branch: elpa/julia-mode
commit 9c36479c83039c4fc26e583bb1c4dc27de058a4e
Merge: 7802452 1332b74
Author: Jeff Bezanson <jeff.bezanson@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #36 from JuliaEditorSupport/jb/typekeywords
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 7b113e4..7842739 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 dd3d682 225/352: Fix Emacs 23 error., (continued)
- [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
- [nongnu] elpa/julia-mode 892beb1 231/352: Fix #12528, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 0526f2f 242/352: Fix spelling of 'delimiter', ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2b15d76 256/352: bol, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7802452 263/352: Merge pull request #35 from tpapp/fix-10, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9c36479 264/352: Merge pull request #36 from JuliaEditorSupport/jb/typekeywords,
ELPA Syncer <=
- [nongnu] elpa/julia-mode feb6e79 259/352: Merge pull request #31 from RalphAS/custom-lookback, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b24410f 279/352: Allow user to set multiple arguments to inferior julia, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 04b97c4 269/352: Merge pull request #37 from tpapp/fix-backslash, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1f254f8 260/352: Fix indentation for anonymous functions., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5812bc3 261/352: Added tests for parentheses following keywords., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b99710c 251/352: `python-mode`-like paren-indent, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 483805b 257/352: Merge pull request #29 from nverno/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 9f990bb 281/352: Handle string escapes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 2ef6992 278/352: Fixed import export etc indentation at start of buffer. (#47), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 117b791 294/352: Replace `Associative` by `AbstractDict` (thanks to @tpapp), ELPA Syncer, 2021/08/29