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:
Colin Woodbury 2021-09-02 11:54:14 -07:00
parent c1ecbb7503
commit be137e04b0
No known key found for this signature in database
GPG key ID: 101BA589276BB074
3 changed files with 9 additions and 49 deletions

View file

@ -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