neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

graphql.vim (553B)


      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 
      9 if exists('b:did_ftplugin')
     10  finish
     11 endif
     12 let b:did_ftplugin = 1
     13 
     14 setlocal comments=:#
     15 setlocal commentstring=#\ %s
     16 setlocal formatoptions-=t
     17 setlocal iskeyword+=$,@-@
     18 setlocal softtabstop=2
     19 setlocal shiftwidth=2
     20 setlocal expandtab
     21 
     22 let b:undo_ftplugin = 'setlocal com< cms< fo< isk< sts< sw< et<'