-
Notifications
You must be signed in to change notification settings - Fork 6
Inherit parent file type highlighting (like .html, .ts, .md) #5
Description
When I'm using Vento, it's ultimately outputting to HTML, TypeScript, Markdown, etc.
I'll often either use a naming convention myfile.ts.vto to get the Vento highlighting, or myfile.vto.ts to instead get TypeScript highlighting/LSP. Neither is a good tradeoff, though, since large blocks of text either will be unhighlighted or syntax errors.
So, while having Vento template highlighting is better than nothing, it's not ideal for writing with. I'd love if there was some level of integration of the Vento template syntax with its existing, parent file format's text formatting in VS Code.
No idea the feasibility or difficulty of this, each file type (especially non-markup languages) may be a broader project in its own right. Feel free to close if out of scope!