mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 10:00:27 +01:00
Don't set options, those break layzvim apparently
This commit is contained in:
@@ -14,17 +14,4 @@ return {
|
||||
-- quiet = true,
|
||||
-- },
|
||||
},
|
||||
|
||||
config = function(_, opts)
|
||||
local conform = require("conform")
|
||||
conform.setup(opts)
|
||||
|
||||
vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
|
||||
vim.keymap.set("n", "<leader>f", function()
|
||||
conform.format({
|
||||
timeout_ms = 5000,
|
||||
lsp_fallback = true,
|
||||
})
|
||||
end)
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user