summaryrefslogblamecommitdiffstats
path: root/ftplugin/graphql.vim
blob: 7734aceea419daa7db26c8edc03759b15c9b2045 (plain) (tree)
1
2
3
4



                                                                               












                                            


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

" 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

let b:undo_ftplugin = 'setlocal com< cms< fo< isk< sts< sw< et<'