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

Add scopes for directives #174

Open
Qrokqt opened this issue Jan 15, 2019 · 1 comment
Open

Add scopes for directives #174

Qrokqt opened this issue Jan 15, 2019 · 1 comment

Comments

@Qrokqt
Copy link

Qrokqt commented Jan 15, 2019

I'd like to color vue directives differently than normal attributes, but there aren't scopes to support it.

At the moment in sublime, v-on:mousedown or @mousedown will have the scopes:

text.html.vue
meta.tag.block.any.html
entity.other.attribute-name.html

while in vscode has the scopes:

source.vue
text.html.vue-html
meta.tag.any.html
meta.directive.vue
entity.other.attribute-name.html

Could we get a meta.directive.vue scope equivalent in sublime?

@FichteFoll
Copy link

FichteFoll commented Feb 1, 2023

With #216, directives have an embedded scope indicating that they use javascript for interpolation.

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

2 participants