refactor!(parinfer): drop support for parinfer-mode
BREAKING CHANGE: It is no longer maintained, and its author directly recommends `parinfer-rust-mode`. Fix #4323
This commit is contained in:
parent
c1ecbb7503
commit
be137e04b0
3 changed files with 9 additions and 49 deletions
|
@ -1,31 +1,6 @@
|
|||
;;; editor/parinfer/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! parinfer
|
||||
:unless (featurep! +rust)
|
||||
:hook ((emacs-lisp-mode
|
||||
clojure-mode
|
||||
scheme-mode
|
||||
lisp-mode
|
||||
racket-mode
|
||||
hy-mode) . parinfer-mode)
|
||||
:init
|
||||
(setq parinfer-extensions
|
||||
'(defaults
|
||||
pretty-parens
|
||||
smart-tab
|
||||
smart-yank))
|
||||
(when (featurep! :editor evil +everywhere)
|
||||
(push 'evil parinfer-extensions))
|
||||
:config
|
||||
(map! :map parinfer-mode-map
|
||||
"\"" nil ; smartparens handles this
|
||||
:i "<tab>" #'parinfer-smart-tab:dwim-right-or-complete
|
||||
:i "<backtab>" #'parinfer-smart-tab:dwim-left
|
||||
:localleader
|
||||
"p" #'parinfer-toggle-mode))
|
||||
|
||||
(use-package! parinfer-rust-mode
|
||||
:when (featurep! +rust)
|
||||
:when (bound-and-true-p module-file-suffix)
|
||||
:hook ((emacs-lisp-mode
|
||||
clojure-mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue