Create custom common-lisp style, which indents λ properly

This commit is contained in:
2021-08-18 22:23:58 +03:00
parent db519f0e82
commit ba8058f994

View File

@@ -16,8 +16,12 @@
:ensure t
:custom
(inferior-lisp-program "sbcl")
:config (sly-define-common-lisp-style "lbge"
(:inherit "classic")
(:indentation
(λ (as lambda))))
:config (defun set-common-lisp-style ()
(setq-local common-lisp-style "classic"))
(setq-local common-lisp-style "lbge"))
:hook ((lisp-mode . sly-mode)
(lisp-mode . set-common-lisp-style)))