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/jsonnet
2018-10-11 00:13:43 +03:00
..
img
packages.el add syntax checking for jsonnet with flycheck 2018-07-04 00:26:29 +03:00
README.org Reformat documentation 2018-10-11 00:13:43 +03:00

jsonnet layer

/TakeV/spacemacs/media/commit/2d7737cd3ed4f21078ca742984ada02c0f4e96bc/layers/+lang/jsonnet/img/jsonnet.png

Description

This layer provides support for Jsonnet template provided by jsonnet-mode.

Features:

  • syntax highlighting
  • buffer formatting
  • jump to definition
  • buffer evaluation

Install

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

To use some of the additional formatting and evaluation features, youll need the jsonnet binary

Key bindings

Key Binding Description
SPC m = format the buffer using `jsonnet fmt`
SPC m g g jump to the definition of a given identifier
SPC m s b show the result of running jsonnet on the current buffer