Fix auto-format issue
This commit is contained in:
3
init.el
3
init.el
@ -2180,7 +2180,8 @@ line in the block and manually deal with indentation."
|
|||||||
(not (sly-connected-p))))
|
(not (sly-connected-p))))
|
||||||
(defun my/-format-only-when-sly-running ()
|
(defun my/-format-only-when-sly-running ()
|
||||||
"Make apheleia-mode format lisp buffers only when sly is running."
|
"Make apheleia-mode format lisp buffers only when sly is running."
|
||||||
(add-to-list 'apheleia-skip-functions #'my/-apheleia-sly-skip-function)))
|
(add-to-list (make-local-variable 'apheleia-skip-functions)
|
||||||
|
#'my/-apheleia-sly-skip-function)))
|
||||||
;; sly
|
;; sly
|
||||||
(use-package sly
|
(use-package sly
|
||||||
;; :hook (lisp-mode . my/-lisp-mode-autoconnect-sly)
|
;; :hook (lisp-mode . my/-lisp-mode-autoconnect-sly)
|
||||||
|
|||||||
Reference in New Issue
Block a user