ruschaaf / extended-embedded-languages

VSCode extension for better syntax highlighting of embedded languages
https://marketplace.visualstudio.com/items?itemName=ruschaaf.extended-embedded-languages
MIT License
17 stars 5 forks source link

feat: toml host language #13

Closed BraedonWooding closed 2 weeks ago

BraedonWooding commented 2 months ago

Just threw this together when I needed it for a project.

Thanks for this library! Let me know if you want any adjustments.

ruschaaf commented 2 weeks ago

Thanks for the addition!

ruschaaf commented 2 weeks ago

I'm making one change to the PR - so that we only do syntax highlighting in multiline literal strings (the ''' ones) not basic strings. This is consistent with a few of the other languages (C++, Rust, Go) where we choose the string type that needs the least amount of escaping (otherwise the escape characters will interfere with the embedded language syntax highlighting)