summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-03-19 00:38:07 +0100
committerAlan Pearce2021-03-19 00:38:07 +0100
commit8426cd05516bd000817f55b080e165d95f78b5eb (patch)
tree7e2cc311be6800b72d503a0c4cbe21b8b5376be8
parenteb8150a4b231e7318590cbcd0bc6e4ef1a61d613 (diff)
downloadnixfiles-8426cd05516bd000817f55b080e165d95f78b5eb.tar.lz
nixfiles-8426cd05516bd000817f55b080e165d95f78b5eb.tar.zst
nixfiles-8426cd05516bd000817f55b080e165d95f78b5eb.zip
emacs: enable racket, racket-xp modes
-rw-r--r--user/emacs/init.el5
-rw-r--r--user/settings/emacs.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 37db02e4..331a4aa4 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -758,6 +758,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package gitignore-mode
   :mode ((".dockerignore\\'" . gitignore-mode)))
 
+;;;; lisps
+
+(use-package racket-mode
+  :ghook ('racket-mode-hook #'racket-xp-mode))
+
 ;;;; kubernetes
 (setq k8s-site-docs-version "v1.13")
 
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index d88abdfb..da8d54ca 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -159,6 +159,7 @@ in
       projectile
       projectile-ripgrep
       quickrun
+      racket-mode
       rainbow-mode
       restclient
       ripgrep