Remove duplicate keys
This commit is contained in:
parent
20b85d87a7
commit
10659cdce4
11
init.lua
11
init.lua
|
@ -652,17 +652,6 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
event = { 'BufWritePre' },
|
event = { 'BufWritePre' },
|
||||||
cmd = { 'ConformInfo' },
|
cmd = { 'ConformInfo' },
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
-- Customize or remove this keymap to your liking
|
|
||||||
'<leader>f',
|
|
||||||
function()
|
|
||||||
require('conform').format { async = true, lsp_fallback = true }
|
|
||||||
end,
|
|
||||||
mode = '',
|
|
||||||
desc = 'Format buffer',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
init = function()
|
init = function()
|
||||||
-- If you want the formatexpr, here is the place to set it
|
-- If you want the formatexpr, here is the place to set it
|
||||||
vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
|
vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
|
||||||
|
|
Loading…
Reference in New Issue