spacemacs/layers/+lang/jsonnet
2018-12-04 22:06:14 -05:00
..
img
packages.el Unify packages list parentheses style 2018-11-21 21:35:38 +00:00
README.org documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00

jsonnet layer

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