]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/julia.yaml
Merge pull request #1315 from matbesancon/patch-1
[micro.git] / runtime / syntax / julia.yaml
index 73cbd5bf3ba913bf1e1beb9f87bc9d7de49a71a6..ecda7c8127e85366f08515279ff8b9fb958f4c60 100644 (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