summaryrefslogtreecommitdiffstats
path: root/lua/conform/health.lua
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2024-06-19 09:22:27 -0400
committerSteven Arcangeli <stevearc@stevearc.com>2024-06-19 09:22:28 -0400
commitbde3bee1773c96212b6c49f009e05174f932c23a (patch)
tree68b8b7b2471cc140333decb07bb2f1beb0663dea /lua/conform/health.lua
parent0d12c3781384d63909431297ed1a0f383008bb8f (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/health.lua')
0 files changed, 0 insertions, 0 deletions