vim-vue icon indicating copy to clipboard operation
vim-vue copied to clipboard

GraphQL Syntax Highlighting Support?

Open ericraio opened this issue 4 years ago • 1 comments

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.

ericraio avatar Jul 06 '20 18:07 ericraio

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.

vhoyer avatar Feb 27 '21 16:02 vhoyer