-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
There is a few problems with syntax highlighting of Scala3:
Most of them can be seen on this page: https://docs.scala-lang.org/scala3/guides/macros/macros.html
Keywords not highlighted as keywords:
- inline
- then
Other problems:
- quotes are recognized as character-start
We should look at the vscode grammar and tests: https://marketplace.visualstudio.com/items?itemName=scala-lang.scala
HighlightJS is included here:
docs.scala-lang/_includes/footer.html
Lines 42 to 44 in d6e14d1
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js" type="text/javascript"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/scala.min.js" type="text/javascript"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/languages/java.min.js" type="text/javascript"></script> |