branch: elpa/julia-mode commit f84a425ab441ccec0c6f21181e224c8e099bc06d Author: Yichao Yu <yyc1...@gmail.com> Commit: Yichao Yu <yyc1...@gmail.com>
Clean up stagedfunction --- julia-mode.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/julia-mode.el b/julia-mode.el index 2ba71de..43f97b5 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -143,7 +143,7 @@ This function provides equivalent functionality, but makes no efforts to optimis (defconst julia-function-regex (rx line-start (* (or space "@inline" "@noinline")) symbol-start - (or "function" "stagedfunction") + "function" (1+ space) ;; Don't highlight module names in function declarations: (* (seq (1+ (or word (syntax symbol))) ".")) @@ -183,7 +183,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" "stagedfunction" "macro" "ccall" + "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") @@ -248,8 +248,8 @@ This function provides equivalent functionality, but makes no efforts to optimis )) (defconst julia-block-start-keywords - (list "if" "while" "for" "begin" "try" "function" "stagedfunction" "type" "let" "macro" - "quote" "do" "immutable")) + (list "if" "while" "for" "begin" "try" "function" "type" "let" "macro" + "quote" "do" "immutable")) (defconst julia-block-end-keywords (list "end" "else" "elseif" "catch" "finally"))