Create custom common-lisp style, which indents λ properly
This commit is contained in:
@@ -16,8 +16,12 @@
|
|||||||
:ensure t
|
:ensure t
|
||||||
:custom
|
:custom
|
||||||
(inferior-lisp-program "sbcl")
|
(inferior-lisp-program "sbcl")
|
||||||
|
:config (sly-define-common-lisp-style "lbge"
|
||||||
|
(:inherit "classic")
|
||||||
|
(:indentation
|
||||||
|
(λ (as lambda))))
|
||||||
:config (defun set-common-lisp-style ()
|
:config (defun set-common-lisp-style ()
|
||||||
(setq-local common-lisp-style "classic"))
|
(setq-local common-lisp-style "lbge"))
|
||||||
:hook ((lisp-mode . sly-mode)
|
:hook ((lisp-mode . sly-mode)
|
||||||
(lisp-mode . set-common-lisp-style)))
|
(lisp-mode . set-common-lisp-style)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user