From 19e54738d749b0a4f5bf065d4e980e2401fa2028 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Tue, 23 Jun 2020 12:43:00 -0400 Subject: feat(users/glittershark): Jsonnet in emacs + system Add jsonnet-mode to emacs, and install jsonnet in the development.nix module in home-manager. Change-Id: I11d6417b6a059de151dbb5407682059e0d5a7d3c Reviewed-on: https://cl.tvl.fyi/c/depot/+/564 Reviewed-by: glittershark --- users/glittershark/emacs.d/config.el | 4 ++++ users/glittershark/emacs.d/packages.el | 2 ++ users/glittershark/system/home/modules/development.nix | 1 + 3 files changed, 7 insertions(+) (limited to 'users') diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el index 9038e0c569ef..c1ff282a3839 100644 --- a/users/glittershark/emacs.d/config.el +++ b/users/glittershark/emacs.d/config.el @@ -1210,3 +1210,7 @@ (setq znc-servers '(("znc.gws.fyi" 5000 t ((freenode "glittershark" "Ompquy")))))) + +(use-package! jsonnet-mode + :bind (:map jsonnet-mode-map + ("g SPC" . jsonnet-eval-buffer))) diff --git a/users/glittershark/emacs.d/packages.el b/users/glittershark/emacs.d/packages.el index 63a753eec4f7..c311c77b2291 100644 --- a/users/glittershark/emacs.d/packages.el +++ b/users/glittershark/emacs.d/packages.el @@ -149,6 +149,8 @@ (package! terraform-mode) (package! company-terraform) +(package! jsonnet-mode) + ;;; (package! znc :recipe (:host github diff --git a/users/glittershark/system/home/modules/development.nix b/users/glittershark/system/home/modules/development.nix index 39e964d1da3e..329b96029757 100644 --- a/users/glittershark/system/home/modules/development.nix +++ b/users/glittershark/system/home/modules/development.nix @@ -46,6 +46,7 @@ with lib; gnumake inetutils loc + jsonnet clj2nix -- cgit 1.4.1