diff options
author | Jongwook Choi <wookayin@gmail.com> | 2023-12-08 01:36:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 22:36:38 -0800 |
commit | 48bc9996ebfe90e7766f46338360f75fd6ecb174 (patch) | |
tree | b22dafcb52e158c63a96ad4e15d9235c366259a3 /tests/api_spec.lua | |
parent | ce95e6b2a072d81fd312ff213f241cacab1eccef (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 'tests/api_spec.lua')
0 files changed, 0 insertions, 0 deletions