summaryrefslogblamecommitdiffstats
path: root/autoload/graphql.vim
blob: cce43556245ae3cb3c8831277d686cf4187933f8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                               
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'graphql') != -1
  finish
endif

" 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