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
2021-03-25 22:59:32 -04:00
..
img jsonnet: update key bindings and add a logo 2018-06-15 23:07:37 -04:00
packages.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
README.org documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00

jsonnet layer

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