diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2017-05-17 11:17:16 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2017-05-17 11:17:16 +0200 |
commit | c7dfe2f62654486e1f5f6a0ddd26ab558bd0ea2a (patch) | |
tree | 0d0a204b1ecc0fe283a10a27c18f43fafecb8b1c /ftplugin/graphql.vim | |
parent | af870100716f20ee4daef9cc527a9ecf41b54114 (diff) | |
download | vim-polyglot-c7dfe2f62654486e1f5f6a0ddd26ab558bd0ea2a.tar.gz vim-polyglot-c7dfe2f62654486e1f5f6a0ddd26ab558bd0ea2a.zip |
Add graphql, closes #206
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..d82d9abb --- /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 |