Setup common lisp for parinfer
This commit is contained in:
parent
ed93fdfd94
commit
08ca7c8516
13
init.el
13
init.el
|
|
@ -614,10 +614,15 @@
|
||||||
;; Parinfer mode - We will use conventional 2 spaces instead of tabs for lisp
|
;; Parinfer mode - We will use conventional 2 spaces instead of tabs for lisp
|
||||||
(use-package parinfer-rust-mode
|
(use-package parinfer-rust-mode
|
||||||
:ensure (:host github :repo "justinbarclay/parinfer-rust-mode")
|
:ensure (:host github :repo "justinbarclay/parinfer-rust-mode")
|
||||||
:hook (emacs-lisp-mode . (lambda()
|
:hook
|
||||||
(setq-local tab-width 2)
|
((emacs-lisp-mode . (lambda()
|
||||||
(indent-tabs-mode -1)
|
(setq-local tab-width 2)
|
||||||
(parinfer-rust-mode))))
|
(indent-tabs-mode -1)
|
||||||
|
(parinfer-rust-mode)))
|
||||||
|
(common-lisp-mode . (lambda()
|
||||||
|
(setq-local tab-width 2)
|
||||||
|
(indent-tabs-mode -1)
|
||||||
|
(parinfer-rust-mode)))))
|
||||||
|
|
||||||
;; Rainbow delimiters
|
;; Rainbow delimiters
|
||||||
(use-package rainbow-delimiters
|
(use-package rainbow-delimiters
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue