diff options
author | Steven Arcangeli <stevearc@stevearc.com> | 2024-06-19 09:22:27 -0400 |
---|---|---|
committer | Steven Arcangeli <stevearc@stevearc.com> | 2024-06-19 09:22:28 -0400 |
commit | bde3bee1773c96212b6c49f009e05174f932c23a (patch) | |
tree | 68b8b7b2471cc140333decb07bb2f1beb0663dea /lua/conform/formatters/findent.lua | |
parent | 0d12c3781384d63909431297ed1a0f383008bb8f (diff) |
fix: LSP fallback behavior when formatters not availble
The bug would present itself when there were formatters configured for a
filetype that were not available (not installed, or some other issue).
This would also happen if the filetype configured an empty list of
formatters.
The fix was to make sure that we fall back to LSP formatting _either_ if
the filetype had no formatters configured, _or_ if none of the
configured formatters are available.
Diffstat (limited to 'lua/conform/formatters/findent.lua')
0 files changed, 0 insertions, 0 deletions