chore(nvim): update conform config

This commit is contained in:
Rob Watson 2025-04-28 08:54:57 +02:00
parent d120f4e26c
commit 74665a7f5b

View File

@ -10,15 +10,20 @@ require("conform").setup({
typescriptreact = { "prettier" },
css = { "prettier" },
scss = { "prettier" },
-- ruby = { "standardrb" },
},
formatters = {
prettier = {
args = { "--stdin-filepath", "$FILENAME", "--single-quote" },
},
-- standardrb = {
-- args = { "$FILENAME", "--fix" },
-- },
},
format_on_save = {
lsp_fallback = true,
format_after_save = {
lsp_fallback = "fallback",
timeout_ms = 5000,
},
log_level = vim.log.levels.ERROR,
notify_on_error = false,
notify_on_error = true,
})