jparise / vim-graphql

A Vim plugin that provides GraphQL file detection, syntax highlighting, and indentation.
MIT License
490 stars 25 forks source link

Add support for b:graphql_javascript_tags #100

Closed jparise closed 3 months ago

jparise commented 3 months ago

This allows buffer-level JavaScript tag values, avoiding the need to modify the global namespace for more granular configurations.

This also introduces graphql#var() as a convenience function to perform this kind of tiered variable look-up.