Disable smartparens in SLIME REPL
This commit is contained in:
parent
7c3d95c962
commit
e2dea377b7
|
@ -29,7 +29,12 @@
|
||||||
(setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)
|
(setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol)
|
||||||
|
|
||||||
;; enabel smartparen in code buffer and SLIME REPL
|
;; enabel smartparen in code buffer and SLIME REPL
|
||||||
(add-hook 'slime-repl-mode-hook #'smartparens-strict-mode)
|
;; (add-hook 'slime-repl-mode-hook #'smartparens-strict-mode)
|
||||||
|
(defun slime/disable-smartparens ()
|
||||||
|
(smartparens-strict-mode -1)
|
||||||
|
(turn-off-smartparens-mode))
|
||||||
|
|
||||||
|
(add-hook 'slime-repl-mode-hook #'slime/disable-smartparens)
|
||||||
|
|
||||||
(add-to-hooks 'slime-mode '(lisp-mode-hook scheme-mode-hook)))
|
(add-to-hooks 'slime-mode '(lisp-mode-hook scheme-mode-hook)))
|
||||||
:config
|
:config
|
||||||
|
|
Loading…
Reference in a new issue