diff options
author | Dan Reif <dan.reif@collectivehealth.com> | 2018-05-08 10:28:33 -0700 |
---|---|---|
committer | Dan Reif <dan.reif@collectivehealth.com> | 2018-05-08 10:28:33 -0700 |
commit | e2404449e4f961c5e6c0e2689078612b36d776c2 (patch) | |
tree | 5e6dc545006d2beeeea37395d56a87f6d02e8a51 /ftplugin/graphql.vim | |
parent | dc8b2f45deb7e0d139f1fe01881faa1b676d043f (diff) | |
download | vim-polyglot-e2404449e4f961c5e6c0e2689078612b36d776c2.tar.gz vim-polyglot-e2404449e4f961c5e6c0e2689078612b36d776c2.zip |
Merge pull request #301 from timfeirg:feature/graphql
Diffstat (limited to 'ftplugin/graphql.vim')
-rw-r--r-- | ftplugin/graphql.vim | 17 |
1 files changed, 17 insertions, 0 deletions
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 <jon@indelible.org> + +if (exists('b:did_ftplugin')) + finish +endif +let b:did_ftplugin = 1 + +setlocal comments=:# +setlocal commentstring=#\ %s +setlocal formatoptions-=t +setlocal iskeyword+=$,@-@ + +endif |