spacemacs/layers/+lang/jsonnet/README.org
duianto f143f76393 [jsonnet] readme.org: fix keybinding table
problem: a space before the closing ~, breaks the formatting
solution: remove the space to hide the ~ signs

And remove a word: "to"
2018-08-31 22:07:25 +01:00

1.2 KiB

jsonnet layer

/TakeV/spacemacs/media/commit/314e3470efcf7144f21d5347ab21849c1a6d1bbf/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, you'll 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