doomemacs/modules/editor/lispy/config.el
Niklas Carlsson 6b2b5c225f Close the ending quote in lispy-mode
With this setting lispy closes the ending quote which is in alignment
with how Doom treats quotes in other modes.
2018-11-03 10:29:20 +01:00

30 lines
816 B
EmacsLisp

;;; editor/lispy/config.el -*- lexical-binding: t; -*-
(def-package! lispy
:hook ((common-lisp-mode . lispy-mode)
(emacs-lisp-mode . lispy-mode)
(scheme-mode . lispy-mode)
(racket-mode . lispy-mode)
(hy-mode . lispy-mode)
(lfe-mode . lispy-mode)
(clojure-mode . lispy-mode))
:config
(setq lispy-close-quotes-at-end-p t)
(add-hook 'lispy-mode-hook #'turn-off-smartparens-mode))
(def-package! lispyville
:when (featurep! :feature evil)
:hook (lispy-mode . lispyville-mode)
:config
(lispyville-set-key-theme
'((operators normal)
c-w
(prettify insert)
(atom-movement normal visual)
slurp/barf-lispy
(wrap normal insert)
additional
additional-insert
(additional-wrap normal insert)
(escape insert))))