Add graphql, closes #206

This commit is contained in:
Adam Stankiewicz
2017-05-17 11:17:16 +02:00
parent af87010071
commit c7dfe2f626
5 changed files with 88 additions and 0 deletions

17
ftplugin/graphql.vim Normal file
View File

@@ -0,0 +1,17 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
" Vim filetype plugin
" Language: GraphQL
" Maintainer: Jon Parise <jon@indelible.org>
if (exists("b:did_ftplugin"))
finish
endif
let b:did_ftplugin = 1
setlocal comments=:#
setlocal commentstring=#\ %s
setlocal formatoptions-=t
setlocal iskeyword+=$,@-@
endif