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