Merge branch 'Paalon-master'

This commit is contained in:
Zachary Yedidia 2020-02-09 00:19:11 -05:00
commit aaf90c6f52

View File

@ -13,11 +13,12 @@ rules:
# definitions # definitions
- identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]" - identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
# keywords # keywords
- statement: "\\b(begin|break|catch|continue|function|elseif|struct|else|end|finally|for|global|local|let|const|if|import|export|using|macro|println|return|try|while|module)\\b" - statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|global|if|import|let|local|macro|module|quote|return|struct|try|using|while)\\b"
- statement: "\\b(abstract type|primitive type|mutable struct\\b)"
# decorators # decorators
- identifier.macro: "@[A-Za-z0-9_]+" - identifier.macro: "@[A-Za-z0-9_]+"
# operators # operators
- symbol.operator: "[-+*/|=%<>&~^]|\\b(isa|in)\\b" - symbol.operator: "[-+*/|=%<>&~^]|\\b(in|isa|where)\\b"
# parentheses # parentheses
- symbol.brackets: "([(){}]|\\[|\\])" - symbol.brackets: "([(){}]|\\[|\\])"
# numbers # numbers