robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqMerge pull request #40472 from zeertzjq/vim-1f337327945732ed7

master
715 B26 linesraw
1" Vim filetype plugin
2" Language:	graphql
3" 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
8"		2026 Jun 27 by Vim Project (add recommended style guard)
9
10if exists('b:did_ftplugin')
11  finish
12endif
13let b:did_ftplugin = 1
14
15setlocal comments=:#
16setlocal commentstring=#\ %s
17setlocal formatoptions-=t
18setlocal iskeyword+=$,@-@
19if get(g:, 'graphql_recommended_style',
20      \ get(g:, 'filetype_recommended_style', 1))
21  setlocal softtabstop=2
22  setlocal shiftwidth=2
23  setlocal expandtab
24endif
25
26let b:undo_ftplugin = 'setlocal com< cms< fo< isk< sts< sw< et<'