Conform editor/parinfer to Doom conventions
+ Use evil +everywhere flag for universal evil integration, + Use :hook instead of `add-hook!` and implicit lambda, + Fix path in header.
This commit is contained in:
parent
db45248adf
commit
63552338ec
1 changed files with 7 additions and 14 deletions
|
@ -1,21 +1,14 @@
|
|||
;;; lang/emacs-lisp/+parinfer.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;; editor/parinfer/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(def-package! parinfer
|
||||
:commands (parinfer-mode)
|
||||
:hook ((emacs-lisp clojure-mode common-lisp scheme lisp) . parinfer-mode)
|
||||
:init
|
||||
(add-hook! (emacs-lisp-mode
|
||||
clojure-mode
|
||||
common-lisp-mode
|
||||
scheme-mode
|
||||
lisp-mode)
|
||||
(parinfer-mode))
|
||||
(setq parinfer-extensions
|
||||
'(defaults
|
||||
pretty-parens
|
||||
smart-tab
|
||||
smart-yank))
|
||||
(if (featurep! :feature evil)
|
||||
(when (featurep! :feature evil +everywhere)
|
||||
(push 'evil parinfer-extensions))
|
||||
:config
|
||||
(map! :map parinfer-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue