blob: 1717ebf2ccc7ed21b19dca1d3ab54e6cfa51b2d1 [file] [log] [blame]
Riley Bruins36e974f2024-05-19 09:30:12 +02001" Vim filetype plugin
2" Language: graphql
Jon Parise4ce1cb52024-12-23 09:57:42 +01003" Maintainer: Jon Parise <jon@indelible.org>
4" Filenames: *.graphql *.graphqls *.gql
5" URL: https://github.com/jparise/vim-graphql
6" License: MIT <https://opensource.org/license/mit>
7" Last Change: 2024 Dec 21
Riley Bruins36e974f2024-05-19 09:30:12 +02008
9if exists('b:did_ftplugin')
10 finish
11endif
12let b:did_ftplugin = 1
13
Jon Parise4ce1cb52024-12-23 09:57:42 +010014setlocal comments=:#
15setlocal commentstring=#\ %s
16setlocal formatoptions-=t
17setlocal iskeyword+=$,@-@
18setlocal softtabstop=2
19setlocal shiftwidth=2
20setlocal expandtab
Riley Bruins36e974f2024-05-19 09:30:12 +020021
Jon Parise4ce1cb52024-12-23 09:57:42 +010022let b:undo_ftplugin = 'setlocal com< cms< fo< isk< sts< sw< et<'