emacs: Enable paredit on lisp-mode, set some options for sly

This commit is contained in:
Erwin Boskma 2023-11-30 08:57:33 +01:00
parent 3f10c2124c
commit 373e4ebb4f
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -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