Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Syntax highlighting with custom Vue delimiters #173

Open
robwise1 opened this issue Dec 20, 2018 · 0 comments
Open

Feature request: Syntax highlighting with custom Vue delimiters #173

robwise1 opened this issue Dec 20, 2018 · 0 comments

Comments

@robwise1
Copy link

robwise1 commented Dec 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant