Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
9a1b31f6e6
2 changed files with 16 additions and 7 deletions
11
init.lua
11
init.lua
|
|
@ -611,6 +611,17 @@ require('lazy').setup({
|
|||
|
||||
{ -- Autoformat
|
||||
'stevearc/conform.nvim',
|
||||
lazy = false,
|
||||
keys = {
|
||||
{
|
||||
'<leader>f',
|
||||
function()
|
||||
require('conform').format { async = true, lsp_fallback = true }
|
||||
end,
|
||||
mode = '',
|
||||
desc = '[F]ormat buffer',
|
||||
},
|
||||
},
|
||||
opts = {
|
||||
notify_on_error = false,
|
||||
format_on_save = function(bufnr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue