cyrusfirheir / twee3-language-tools

[ VSCode extension ] Syntax highlighting and programmatic language tools for Twee 3, and Twine 2 storyformats.
https://marketplace.visualstudio.com/items?itemName=cyrusfirheir.twee3-language-tools
MIT License
47 stars 16 forks source link

[SugarCube] `//*` causes block comment #169

Open cjneidhart opened 4 hours ago

cjneidhart commented 4 hours ago

In SugarCube 2, the text Hello //*World// will render as:

Hello <em>*World</em>

However, this extension incorrectly sees the /* as the start of a block comment, and will highlight the //*World and all text after it (including subsequent passages in the same file) as a comment.