disable parinfer when looking at library code
This commit is contained in:
6
init.el
6
init.el
@@ -181,14 +181,16 @@
|
||||
(when (and
|
||||
(not (s-contains? "sbcl" buf))
|
||||
(not (s-contains? "ocicl" buf))
|
||||
(not (s-contains? "elpa" buf))
|
||||
(not (s-contains? "emacs-plus" buf))
|
||||
(not (string-prefix-p "*sly" buf)))
|
||||
(parinfer-rust-mode 1))))
|
||||
|
||||
(use-package parinfer-rust-mode
|
||||
:defer t
|
||||
:hook ((lisp-mode emacs-lisp-mode) . enable-parinfer)
|
||||
:config
|
||||
(setq parinfer-rust-disable-troublesome-modes t))
|
||||
:custom
|
||||
(parinfer-rust-disable-troublesome-modes t))
|
||||
|
||||
(use-package sly
|
||||
:mode "\\.lisp\\'"
|
||||
|
||||
Reference in New Issue
Block a user