spacemacs/layers/+lang/jsonnet
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
..
img jsonnet: update key bindings and add a logo 2018-06-15 23:07:37 -04:00
packages.el Unify packages list parentheses style 2018-11-21 21:35:38 +00:00
README.org Reformat documentation 2018-10-11 00:13:43 +03:00

jsonnet layer

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