diff options
author | Vincent Ambo <tazjin@google.com> | 2020-01-15T10·42+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-01-15T10·42+0100 |
commit | bfd0bc2a79e6f3758566c45ddb61a59265c9fab2 (patch) | |
tree | 8ad4f04af8daf4cfdf9275a5de9f8db855bcb25a /tools | |
parent | c2a797ed8b372c0e53ad5a954f2e178af3d910b3 (diff) |
feat(emacs.d): Configure Sly for Common Lisp r/383
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.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/emacs/config/init.el | 8 |
1 files changed, 8 insertions, 0 deletions
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)) |