mirror of
https://github.com/kossLAN/nvim-flake.git
synced 2025-11-05 02:09:49 -05:00
conform: set format keybind to fallback on lsp formatter
This commit is contained in:
parent
f0b0787c91
commit
725b32dbcd
1 changed files with 1 additions and 1 deletions
|
|
@ -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' })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue