.
This commit is contained in:
parent
9db349a29c
commit
0ba852fd5e
1 changed files with 9 additions and 0 deletions
|
@ -301,12 +301,21 @@
|
|||
(use-package parinfer-rust-mode
|
||||
:custom
|
||||
(parinfer-rust-auto-download t)
|
||||
(parinfer-rust-troublesome-modes
|
||||
(delete 'electric-pair-mode parinfer-rust-troublesome-modes))
|
||||
:hook
|
||||
emacs-lisp-mode
|
||||
clojure-ts-mode
|
||||
scheme-mode
|
||||
(parinfer-rust-mode . electric-pair-local-mode)
|
||||
:config
|
||||
(setq-local electric-pair-inhibit-predicate
|
||||
(lambda (c)
|
||||
(if (or (char-equal c ?\()
|
||||
(char-equal c ?\[)
|
||||
(char-equal c ?\{))
|
||||
t
|
||||
(electric-pair-default-inhibit c))))
|
||||
(evil-define-key 'normal 'parinfer-rust-mode-map
|
||||
(kbd "r") #'raise-sexp))
|
||||
;; (use-package lispy
|
||||
|
|
Loading…
Reference in a new issue