about summary refs log tree commit diff
path: root/users/glittershark
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-07-03T03·27-0400
committerglittershark <grfn@gws.fyi>2020-07-03T03·27+0000
commit265d40ea524c09b6a7c5593405e42b56a5dd1587 (patch)
tree666ae10242beb243bcf585339f84fdd55662785f /users/glittershark
parent0ef26965647a2db19838470e1510d1a31838142a (diff)
fix(gs/emacs): Fix jsonnet-mode map invocation r/1183
Only want to map in normal mode

Change-Id: I5034af2a4828c61cd46f68451485a8a90cba7085
Reviewed-on: https://cl.tvl.fyi/c/depot/+/892
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark')
-rw-r--r--users/glittershark/emacs.d/config.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el
index fcddf238bc08..59efa211c5ec 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))))