spacemacs/layers/+lang/graphql
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
img [new layer][graphql] add graphql layer 2020-11-12 23:03:26 +01:00
README.org documentation formatting: Sun Nov 22 08:56:33 UTC 2020 2020-11-24 22:22:17 +01:00
config.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

graphql layer

/TakeV/spacemacs/media/branch/develop/layers/+lang/graphql/img/graphql.png

Description

This layer adds support for graphql file. It builds around graphql-mode. Please check its site for extra info.

Features:

  • Syntax highlight and graphql calls with graphql-mode
  • Autocomplete with comapy-dabbrev
  • Format buffer with prettier
  • Go to definition with ahs

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add graphql to the existing dotspacemacs-configuration-layers list in this file.

If you want to format graphql buffers you need to enable prettier layer also.

Key bindings

Key binding Description
SPC m = = graphql-edit-headers
SPC m e graphql-select-endpoint
SPC m g G jump to definition new window
SPC m g g jump to definition
SPC m h graphql-edit-headers
SPC m s graphql-send-query