feat(format): add eglot support

Fix: #7673
This commit is contained in:
Henrik Lissner 2024-02-14 17:44:38 -05:00
parent 20de3d0f29
commit e9ea3cc591
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 19 additions and 1 deletions

View file

@ -29,7 +29,8 @@ This has no effect on the +onsave flag, apheleia will always be used there.")
(defvar +format-functions
'(+format-in-org-src-blocks-fn
+format-with-lsp-fn)
+format-with-lsp-fn
+format-with-eglot-fn)
"A list of functions to run when formatting a buffer or region.
Each function is given three arguments: the starting point, end point, and a