branch: elpa/julia-mode commit e7ebf359142d008ec48c5d0cd7f7ca1e39b214c3 Author: Jeff Bezanson <bezan...@post.harvard.edu> Commit: Yichao Yu <yyc1...@gmail.com>
adding let syntax: let x=2; y=3 # 2 vars ...body... end let ; # no vars ...body... end let x # uninitialized ...body... end setting "ans" to result of last entry in REPL --- julia-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/julia-mode.el b/julia-mode.el index 03f3b39..887e181 100644 --- a/julia-mode.el +++ b/julia-mode.el @@ -47,13 +47,13 @@ '("if" "else" "elseif" "while" "for" "begin" "end" "try" "catch" "return" "local" "type" "function" "typealias" "break" "continue" "struct" "global" - "module" "import" "export" "const") + "module" "import" "export" "const" "let") "\\|") "\\)\\>") 'font-lock-keyword-face) '("\\\\\\s-*\".*?\"" . font-lock-string-face))) (defconst julia-block-start-keywords - (list "if" "while" "for" "begin" "try" "function" "struct")) + (list "if" "while" "for" "begin" "try" "function" "struct" "let")) (defconst julia-block-other-keywords (list "else" "elseif"))