summaryrefslogtreecommitdiffstats
path: root/ftplugin/graphql.vim
blob: d1ac432909306a32e8c7bcbe48f26580a324edbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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+=$,@-@
setlocal softtabstop=2
setlocal shiftwidth=2
setlocal expandtab

endif