spacemacs/layers/+lang/graphql
Maximilian Wolff 48b1d2fcf9
[graphql] Revise package and config file
Removed obsolete comments
Replaced wrong header in config.el
Add missing progn and fix wrong parenthesis
2020-11-12 23:06:43 +01:00
..
img [new layer][graphql] add graphql layer 2020-11-12 23:03:26 +01:00
config.el [graphql] Revise package and config file 2020-11-12 23:06:43 +01:00
packages.el [graphql] Revise package and config file 2020-11-12 23:06:43 +01:00
README.org [new layer][graphql] add graphql layer 2020-11-12 23:03:26 +01:00

graphql layer

/TakeV/spacemacs/media/commit/48b1d2fcf9e2719427d3f4705b700f05a80754e6/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