feat(nvim): idk, lots of changes

This commit is contained in:
2025-06-13 13:42:11 +02:00
parent 41428e5781
commit ec218ac4ef
6 changed files with 113 additions and 64 deletions

View File

@@ -0,0 +1,25 @@
return {
"stevearc/conform.nvim",
event = 'BufWritePre', -- uncomment for format on save
opts = {
lsp_fallback = true,
formatters_by_ft = {
lua = { "stylua" },
javascript = { "prettier" },
css = { "prettier" },
html = { "prettier" },
sh = { "shfmt" },
go = {"goimports", "gofumpt" },
},
format_on_save = {
-- These options will be passed to conform.format()
timeout_ms = 500,
lsp_fallback = true,
},
},
}