2024-05-19 09:30:12 +02:00
|
|
|
" Vim filetype plugin
|
|
|
|
" Language: graphql
|
2024-12-23 09:57:42 +01:00
|
|
|
" Maintainer: Jon Parise <jon@indelible.org>
|
|
|
|
" Filenames: *.graphql *.graphqls *.gql
|
|
|
|
" URL: https://github.com/jparise/vim-graphql
|
|
|
|
" License: MIT <https://opensource.org/license/mit>
|
|
|
|
" Last Change: 2024 Dec 21
|
2024-05-19 09:30:12 +02:00
|
|
|
|
|
|
|
if exists('b:did_ftplugin')
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
2024-12-23 09:57:42 +01:00
|
|
|
setlocal comments=:#
|
|
|
|
setlocal commentstring=#\ %s
|
|
|
|
setlocal formatoptions-=t
|
|
|
|
setlocal iskeyword+=$,@-@
|
|
|
|
setlocal softtabstop=2
|
|
|
|
setlocal shiftwidth=2
|
|
|
|
setlocal expandtab
|
2024-05-19 09:30:12 +02:00
|
|
|
|
2024-12-23 09:57:42 +01:00
|
|
|
let b:undo_ftplugin = 'setlocal com< cms< fo< isk< sts< sw< et<'
|