From 265d40ea524c09b6a7c5593405e42b56a5dd1587 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 2 Jul 2020 23:27:40 -0400 Subject: [PATCH] fix(gs/emacs): Fix jsonnet-mode map invocation Only want to map in normal mode Change-Id: I5034af2a4828c61cd46f68451485a8a90cba7085 Reviewed-on: https://cl.tvl.fyi/c/depot/+/892 Reviewed-by: glittershark --- users/glittershark/emacs.d/config.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el index fcddf238b..59efa211c 100644 --- a/users/glittershark/emacs.d/config.el +++ b/users/glittershark/emacs.d/config.el @@ -1213,5 +1213,7 @@ ((freenode "glittershark" "Ompquy")))))) (use-package! jsonnet-mode - :bind (:map jsonnet-mode-map - ("g SPC" . jsonnet-eval-buffer))) + :config + (map! + (:map jsonnet-mode-map + (:n "g SPC" #'jsonnet-eval-buffer))))