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)
This commit is contained in:
Mathieu Besançon
2019-04-29 15:29:21 +02:00
committed by GitHub
parent 2c219ba647
commit bcb8765049

View File

@@ -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