Merge pull request #301 from timfeirg:feature/graphql

This commit is contained in:
Dan Reif
2018-05-08 10:28:33 -07:00
parent dc8b2f45de
commit e2404449e4
8 changed files with 216 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