mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
fix(format): void function +format-with-lsp-maybe-h error
Regression introduced infd1941b
. Amend:fd1941b95f
This commit is contained in:
@@ -37,8 +37,8 @@ This is controlled by `+format-on-save-disabled-modes'."
|
||||
|
||||
;; Use the formatter provided by lsp-mode and eglot, if available.
|
||||
(when (modulep! +lsp)
|
||||
(add-hook 'eglot-managed-mode-hook #'+format-with-lsp-maybe-h)
|
||||
(add-hook 'lsp-managed-mode-hook #'+format-with-lsp-maybe-h))
|
||||
(add-hook 'eglot-managed-mode-hook #'+format-with-lsp-toggle-h)
|
||||
(add-hook 'lsp-managed-mode-hook #'+format-with-lsp-toggle-h))
|
||||
|
||||
:config
|
||||
(add-to-list 'doom-debug-variables '(apheleia-log-only-errors . nil))
|
||||
|
Reference in New Issue
Block a user