Table of Contents

jsonnet layer

Table of ContentsClose

jsonnet.png

1 Description

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

1.1 Features:

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

2 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, you'll need the jsonnet binary

3 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

Author: root

Created: 2019-11-10 Sun 14:17

Validate