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

GraphQL Syntax Highlighting Support? #148

Open
ericraio opened this issue Jul 6, 2020 · 1 comment
Open

GraphQL Syntax Highlighting Support? #148

ericraio opened this issue Jul 6, 2020 · 1 comment

Comments

@ericraio
Copy link

ericraio commented Jul 6, 2020

When working with frameworks like https://github.com/gridsome/gridsome
It would be nice to syntax highlight inside the page-query tag.

image

The existing plugin https://github.com/jparise/vim-graphql works with javascript string literals.

@vhoyer
Copy link

vhoyer commented Feb 27, 2021

There is currently a concern about adding more languages syntaxes for posva/vim-vue due to performance issues.

That said, I'm working on a PR here #150 in which we are planning on changing the API to support detect_on_enter by default (which is fairly more performant than the current default which is to load all pre-processors from the get go).

If this PR enters, and this change of default value is accepted, maybe we can think about adding support for this, in my option I think it should ok to do so then.

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