This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/graphql
2021-03-25 22:59:32 -04:00
..
img
config.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
packages.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
README.org documentation formatting: Sun Nov 22 08:56:33 UTC 2020 2020-11-24 22:22:17 +01:00

graphql layer

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