add plugins

This commit is contained in:
2025-01-26 18:50:28 +01:00
parent 0d17aa09b2
commit 779fdf4fd4
13 changed files with 251 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
return {
'stevearc/conform.nvim',
event = { "BufWritePre" },
cmd = { "ConformInfo" },
opts = {
formatters_by_ft = {
markdown = { "prettierd" },
python = { "isort", "black" },
terraform = { "terraform_fmt" }
},
-- Set default options
default_format_ops = {
lsp_format = "fallback",
},
-- Set up format-on-save
format_on_save = {
timeout_ms = 500
}
}
}