X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fsyntax%2Fscala.yaml;h=1c962c5be9392ba622d90cde7e9b2844587fe814;hb=54c23cae72d7237bc898a59f79aad0acffdf0ffe;hp=ec10cdea2b93a21c94f61f90263a916d6cf55f2e;hpb=299712ead3f31d81d968ae6459d1070324cb2d6a;p=micro.git diff --git a/runtime/syntax/scala.yaml b/runtime/syntax/scala.yaml index ec10cdea..1c962c5b 100644 --- a/runtime/syntax/scala.yaml +++ b/runtime/syntax/scala.yaml @@ -6,10 +6,11 @@ detect: rules: - type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b" - statement: "\\b(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b" - - statement: "\\b(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\\b" + - statement: "\\b(def|object|case|trait|lazy|implicit|abstract|class|extends|with|final|implements|override|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\\b" - constant.string: start: "\"" end: "\"" + skip: "\\\\." rules: - constant.specialChar: "\\\\." - constant: "\\b(true|false|null)\\b"