From e2404449e4f961c5e6c0e2689078612b36d776c2 Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Tue, 8 May 2018 10:28:33 -0700 Subject: Merge pull request #301 from timfeirg:feature/graphql --- ftplugin/graphql.vim | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ftplugin/graphql.vim (limited to 'ftplugin/graphql.vim') diff --git a/ftplugin/graphql.vim b/ftplugin/graphql.vim new file mode 100644 index 00000000..42d96e6c --- /dev/null +++ b/ftplugin/graphql.vim @@ -0,0 +1,17 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1 + +" Vim filetype plugin +" Language: GraphQL +" Maintainer: Jon Parise + +if (exists('b:did_ftplugin')) + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:# +setlocal commentstring=#\ %s +setlocal formatoptions-=t +setlocal iskeyword+=$,@-@ + +endif -- cgit v1.2.3