lang/common-lisp: don't autopair '/` in sly-mrepl
Credit goes to @mfiano for this
This commit is contained in:
parent
a251c81aa3
commit
ce1198f23d
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,12 @@
|
||||||
|
|
||||||
(add-hook 'lisp-mode-hook #'rainbow-delimiters-mode)
|
(add-hook 'lisp-mode-hook #'rainbow-delimiters-mode)
|
||||||
|
|
||||||
|
(after! smartparens
|
||||||
|
(sp-with-modes '(sly-mrepl-mode)
|
||||||
|
(sp-local-pair "'" "'" :actions nil)
|
||||||
|
(sp-local-pair "`" "`" :actions nil)))
|
||||||
|
|
||||||
|
;;
|
||||||
(defun +common-lisp|cleanup-sly-maybe ()
|
(defun +common-lisp|cleanup-sly-maybe ()
|
||||||
"Kill processes and leftover buffers when killing the last sly buffer."
|
"Kill processes and leftover buffers when killing the last sly buffer."
|
||||||
(unless (cl-loop for buf in (delq (current-buffer) (buffer-list))
|
(unless (cl-loop for buf in (delq (current-buffer) (buffer-list))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue