diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index 239a105..c9b7c1a 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -396,7 +396,7 @@ Disabled because the configuration is handled by Nix using [[https://github.com/ :prefix my/leader "C" 'find-config) #+end_src -** COMMENT Appearance +** Appearance Enable pixel scrolling. @@ -846,6 +846,7 @@ Paredit is a minor mode for editing parentheses #+begin_src emacs-lisp (use-package paredit :hook (emacs-lisp-mode . paredit-mode) + (lisp-mode . paredit-mode) (racket-mode . paredit-mode) (racket-repl-mode . paredit-mode) :general @@ -1510,7 +1511,13 @@ Common Lisp does not use =lsp-mode=, but has it's own environment: [[https://git [[https://github.com/joaotavora/sly][SLY]] is a fork of SLIME, by the same author as =eglot=, with improved UX #+begin_src emacs-lisp - (use-package sly) + (use-package sly + :mode + (("\\.cl\\'" . lisp-mode)) + :config + (setq sly-lisp-implementations + '((sbcl ("sbcl") :coding-system utf-8-unix)) + sly-default-lisp 'sbcl)) #+end_src *** Clojure