Add graphql support, closes #298

This commit is contained in:
Adam Stankiewicz
2019-09-04 16:29:56 +02:00
parent fe84062992
commit 556c56d185
10 changed files with 293 additions and 1 deletions

View File

@@ -505,6 +505,14 @@ unlet s:cpo_save
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
augroup filetypedetect
" graphql, from graphql.vim in jparise/vim-graphql:_ALL
" vint: -ProhibitAutocmdWithNoGroup
au BufRead,BufNewFile *.graphql,*.graphqls,*.gql setfiletype graphql
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gradle') == -1
augroup filetypedetect
" gradle, from gradle.vim in tfnico/vim-gradle