From bcb876504937509595d040af9b0aa4fe261f0dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Besan=C3=A7on?= Date: Mon, 29 Apr 2019 15:29:21 +0200 Subject: [PATCH] Update julia.yaml Some keywords are not in Julia and were removed. `include` is a standard function with no special property (no syntax-level highlight required) --- runtime/syntax/julia.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/syntax/julia.yaml b/runtime/syntax/julia.yaml index c92a0ddf..b8d301ff 100644 --- a/runtime/syntax/julia.yaml +++ b/runtime/syntax/julia.yaml @@ -13,11 +13,11 @@ rules: # definitions - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" # keywords - - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|const|if|include|import|using|require|macro|println|return|try|type|while|module)\\b" + - statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|let|const|if|import|using|macro|println|return|try|while|module)\\b" # decorators - identifier.macro: "@[A-Za-z0-9_]+" # operators - - symbol.operator: "[-+*/|=%<>&~^]|\\b(and|not|or|is|in)\\b" + - symbol.operator: "[-+*/|=%<>&~^]|\\b(isa|in)\\b" # parentheses - symbol.brackets: "([(){}]|\\[|\\])" # numbers