summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2023-12-08 01:36:38 -0500
committerGitHub <noreply@github.com>2023-12-07 22:36:38 -0800
commit48bc9996ebfe90e7766f46338360f75fd6ecb174 (patch)
treeb22dafcb52e158c63a96ad4e15d9235c366259a3 /lua/conform/formatters
parentce95e6b2a072d81fd312ff213f241cacab1eccef (diff)
fix(formatexpr): does not fallback to the built-in formatexpr (#238)
This makes the behavior of formatexpr more consistent with `vim.lsp.formatexpr`; do not run vim's builtin formatter. Problem: When conform's formatexpr is used and (range or buffer) but conform can't do formatting and there is no LSP formatter with the formatting capabilities, it will fall back to the (wrong) built-in formatting, which might result in simply concatenating all the words. This is a breaking change, reverting the behavior introduced in #55.
Diffstat (limited to 'lua/conform/formatters')
0 files changed, 0 insertions, 0 deletions