Move +parinfer to :editor parinfer
This commit is contained in:
parent
29ea01b772
commit
d178d78b2b
5 changed files with 13 additions and 8 deletions
|
@ -1,22 +0,0 @@
|
|||
;;; lang/emacs-lisp/+parinfer.el -*- lexical-binding: t; -*-
|
||||
|
||||
|
||||
(def-package! parinfer
|
||||
:commands (parinfer-mode)
|
||||
:init
|
||||
(add-hook! emacs-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))
|
|
@ -116,5 +116,3 @@
|
|||
(def-project-mode! +emacs-lisp-ert-mode
|
||||
:modes (emacs-lisp-mode)
|
||||
:match "/test[/-].+\\.el$")
|
||||
|
||||
(when (featurep! +parinfer) (load! "+parinfer"))
|
||||
|
|
|
@ -9,6 +9,3 @@
|
|||
|
||||
(when (featurep! :feature syntax-checker)
|
||||
(package! flycheck-cask))
|
||||
|
||||
(when (featurep! +parinfer)
|
||||
(package! parinfer))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue