summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-03-17 16:21:03 +0100
committerAlan Pearce2020-03-17 16:21:03 +0100
commitbbc7e8f724bac6d6303cd73695e4a846609c978d (patch)
tree19b1ebaedb2aad1fee741cb63af1d9f9b30fd48b
parent754d7968f944bd87a56434fe71ad9dbf409244b0 (diff)
downloadnixfiles-bbc7e8f724bac6d6303cd73695e4a846609c978d.tar.lz
nixfiles-bbc7e8f724bac6d6303cd73695e4a846609c978d.tar.zst
nixfiles-bbc7e8f724bac6d6303cd73695e4a846609c978d.zip
Emacs: use kubel in place of kubernetes.el
kubernetes.el did not build on nix. kubel seems simpler and faster as well.
-rw-r--r--user/emacs/.emacs.d/init.el6
-rw-r--r--user/settings/emacs.nix4
2 files changed, 8 insertions, 2 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 1088e84c..f76a5017 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -741,6 +741,12 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 ;;;; kubernetes
 (setq k8s-site-docs-version "v1.13")
 
+(use-package kubel
+  :defer t)
+
+(use-package kubel-evil
+  :ghook 'kubel-mode-hook)
+
 ;;;; ledger
 
 (use-package ledger-mode
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 0a7feaa3..6ed20b39 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -137,8 +137,8 @@ in
       js2-mode
       json-mode
       k8s-mode
-      # kubernetes
-      # kubernetes-evil
+      kubel
+      kubel-evil
       ledger-mode
       lsp-mode
       lsp-ui