Skip to content

Inherit parent file type highlighting (like .html, .ts, .md) #5

@mattvr

Description

@mattvr

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions