Repository navigation
Conversation
|
In case anyone wants to try it right now, you can copy the new file into |
Andriamanitra
left a comment
There was a problem hiding this comment.
I'm not very familiar with Moonscript but the syntax seems to work alright with the files I tested.
| # Long bracket strings like [[ ... ]] or [==[ ... ]==] | ||
| - constant.string: | ||
| start: "\\[=*\\[" | ||
| end: "\\]=*\\]" | ||
| rules: [] |
There was a problem hiding this comment.
This would work better as separate rules for [[ ... ]] and [==[ ... ]==]. I assume the main reason to use [==[ ... ]==] is to include ]] somewhere inside so you don't want that to end the string.
| - default: | ||
| start: "#\\{" | ||
| end: "\\}" | ||
| rules: [] |
There was a problem hiding this comment.
Oh, of course! I'll fix it soon enough
|
But how does this syntax differ from the others we've rejected in the past? |
|
@JoeKar I was not aware of any rejected other moonscript PRs, why were the others rejected? |
|
I wasn't referring to specific The reason is that the |
Adds syntax highlighting for the Moonscript programming language