From bfd0bc2a79e6f3758566c45ddb61a59265c9fab2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 15 Jan 2020 11:42:19 +0100 Subject: feat(emacs.d): Configure Sly for Common Lisp Sets up Lisp modes in Sly REPL and points at the local hyperspec checkout. In fact the Hyperspec bit should probably be managed by Nix, but one step at a time. --- tools/emacs/config/init.el | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/emacs/config') diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index eac109f985d0..f074c0d8e08a 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -182,6 +182,14 @@ (use-package nginx-mode) (use-package rust-mode) +(use-package sly + :hook ((sly-mrepl-mode . (lambda () + (paredit-mode) + (rainbow-delimiters-mode-enable) + (company-mode)))) + :config + (setq common-lisp-hyperspec-root "file:///home/tazjin/docs/lisp/")) + (use-package telega :bind (:map global-map ("s-t" . telega)) :config (telega-mode-line-mode 1)) -- cgit 1.4.1