Skip to content

Feature request: Syntax highlighting with custom Vue delimiters #173

@robwise1

Description

@robwise1

Sometimes to avoid tag conflicts, I may need to change the vue delimiters, which causes my syntax highlighting to fail. The use case is this:

I have Vue & Django. Front end html rendered by django has context variables available by using
{{ context_variable }}.

So, to avoid collision, I can change the Vue delimiters by doing something like this:
Vue.options.delimiters = ['<%', '%>'];

It would be great if I could maintain accurate syntax highlighting by having an option available in the settings for leftDelimiter and rightDelimiter where I can set these values to keep syntax highlighting happy.

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