Add slime
This commit is contained in:
parent
4b521be91b
commit
c04d8582e2
16
init.el
16
init.el
|
@ -473,6 +473,22 @@
|
||||||
:bind ("C-c v" . envrc-command-map)
|
:bind ("C-c v" . envrc-command-map)
|
||||||
:hook (after-init . envrc-global-mode))
|
:hook (after-init . envrc-global-mode))
|
||||||
|
|
||||||
|
(defun my-slime-repl-set-parens ()
|
||||||
|
(rainbow-delimiters-mode)
|
||||||
|
(puni-mode)
|
||||||
|
(electric-pair-local-mode)
|
||||||
|
(define-key slime-repl-mode-map (kbd "DEL") nil)
|
||||||
|
(local-set-key (kbd "DEL") #'backward-delete-char-untabify))
|
||||||
|
|
||||||
|
(use-package slime
|
||||||
|
:hook (slime-repl-mode . my-slime-repl-set-parens)
|
||||||
|
:custom
|
||||||
|
(slime-contribs '(slime-fancy slime-repl))
|
||||||
|
(slime-lisp-implementations '((sbcl ("sbcl")
|
||||||
|
:coding-system utf-8-unix)))
|
||||||
|
:config
|
||||||
|
(setq inferior-lisp-program "sbcl"))
|
||||||
|
|
||||||
(use-package nix-mode)
|
(use-package nix-mode)
|
||||||
|
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
|
|
Loading…
Reference in a new issue