Move +parinfer to :editor parinfer
This commit is contained in:
parent
29ea01b772
commit
d178d78b2b
5 changed files with 13 additions and 8 deletions
26
modules/editor/parinfer/config.el
Normal file
26
modules/editor/parinfer/config.el
Normal file
|
@ -0,0 +1,26 @@
|
|||
;;; lang/emacs-lisp/+parinfer.el -*- lexical-binding: t; -*-
|
||||
|
||||
|
||||
(def-package! parinfer
|
||||
:commands (parinfer-mode)
|
||||
:init
|
||||
(add-hook! (emacs-lisp-mode
|
||||
clojure-mode
|
||||
common-lisp-mode
|
||||
scheme-mode
|
||||
lisp-mode)
|
||||
(yas-minor-mode -1)
|
||||
(parinfer-mode))
|
||||
(setq parinfer-extensions
|
||||
'(defaults
|
||||
pretty-parens
|
||||
smart-tab
|
||||
smart-yank))
|
||||
(if (featurep! :feature evil)
|
||||
(push 'evil parinfer-extensions))
|
||||
:config
|
||||
(map! :map emacs-lisp-mode-map
|
||||
:i "<tab>" #'parinfer-smart-tab:dwim-right
|
||||
:i "<backtab>" #'parinfer-smart-tab:dwim-left
|
||||
:localleader
|
||||
:nv "m" #'parinfer-toggle-mode))
|
4
modules/editor/parinfer/packages.el
Normal file
4
modules/editor/parinfer/packages.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; editor/parinfer/packages.el
|
||||
|
||||
(package! parinfer)
|
Loading…
Add table
Add a link
Reference in a new issue