emacs: Enable paredit on lisp-mode, set some options for sly
This commit is contained in:
parent
3f10c2124c
commit
373e4ebb4f
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue