diff --git a/autoload/SpaceVim/layers/lang/graphql.vim b/autoload/SpaceVim/layers/lang/graphql.vim new file mode 100644 index 000000000..7f139af0c --- /dev/null +++ b/autoload/SpaceVim/layers/lang/graphql.vim @@ -0,0 +1,13 @@ +"============================================================================= +" graphqlfile.vim --- layer for editing graphql files +" Copyright (c) 2018 Pieter Joost van de Sande & Contributors +" Author: Pieter Joost van de Sande < pj at born2code.net > +" URL: https://spacevim.org +" License: GPLv3 +"============================================================================= + +function! SpaceVim#layers#lang#graphql#plugins() abort + let plugins = [] + call add(plugins, ['jparise/vim-graphql', {'merged' : 0}]) + return plugins +endfunction diff --git a/docs/layers/lang/graphql.md b/docs/layers/lang/graphql.md new file mode 100644 index 000000000..cb19acec4 --- /dev/null +++ b/docs/layers/lang/graphql.md @@ -0,0 +1,31 @@ +--- +title: "SpaceVim lang#graphql layer" +description: "This layer adds graphql file support to SpaceVim" +--- + +# [Available Layers](../../) >> lang#graphql + + + +- [Description](#description) +- [Features](#features) +- [Install](#install) + + + +## Description + +This layer adds graphql file support to SpaceVim. + +## Features + +- syntax highlighting + +## Install + +To use this configuration layer, update custom configuration file with: + +```toml +[[layers]] + name = "lang#graphql" +```