conform: set format keybind to fallback on lsp formatter

This commit is contained in:
kossLAN 2025-06-04 15:08:20 -04:00
parent f0b0787c91
commit 725b32dbcd
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -21,5 +21,5 @@ require('conform').setup {
} }
vim.keymap.set('n', '<space>f', function() vim.keymap.set('n', '<space>f', function()
require('conform').format { async = true } require('conform').format { async = true, lsp_format = 'fallback' }
end, { desc = '[f]ormat buffer' }) end, { desc = '[f]ormat buffer' })