doomemacs/modules/editor/format/autoload
Henrik Lissner fd1941b95f
refactor!(format): simplify & gate lsp/eglot impl behind +lsp
BREAKING CHANGE: This commit introduces two changes, a breaking, one
not.

The breaking change: `+format-with-lsp` used to control lsp-mode/eglot
integration for this module, but it is now gated behind a new +lsp flag.
Users will need to add it to their `doom!` blocks (in $DOOMDIR/init.el)
to restore the integration.

The other change: I've merged the former `lsp` and `eglot` formatters
into a single `lsp` formatter that dispatches to the appropriate
backend, as well as wrapping this integration in a
`+format-with-lsp-mode` minor mode, so it can be toggled at will; mainly
to assist in debugging formatter behavior.

A unified formatter makes it easier for folks to configure
`+format-with` on a per-project/directory/file basis, without needing to
know what backend this module uses, and opens us up to integrating other
LSP backends in the future (like lsp-bridge).
2024-07-07 21:43:27 -04:00
..
evil.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
format.el docs(format): revise docstrings and comments 2024-07-07 20:41:03 -04:00
lsp.el refactor!(format): simplify & gate lsp/eglot impl behind +lsp 2024-07-07 21:43:27 -04:00
settings.el bump: :editor format 2023-11-29 11:27:06 -05:00