mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
17 lines
377 B
VimL
17 lines
377 B
VimL
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
|
|
|
|
" Vim plugin
|
|
" Language: GraphQL
|
|
" Maintainer: Jon Parise <jon@indelible.org>
|
|
|
|
if exists('g:autoloaded_graphql')
|
|
finish
|
|
endif
|
|
let g:autoloaded_graphql = 1
|
|
|
|
function! graphql#javascript_tags() abort
|
|
return get(g:, 'graphql_javascript_tags', ['gql', 'graphql', 'Relay.QL'])
|
|
endfunction
|
|
|
|
endif
|