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))))
|
||||
(defun my/-format-only-when-sly-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
|
||||
(use-package sly
|
||||
;; :hook (lisp-mode . my/-lisp-mode-autoconnect-sly)
|
||||
|
||||
Reference in New Issue
Block a user