chore(nvim): update conform config
This commit is contained in:
parent
d120f4e26c
commit
74665a7f5b
@ -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,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user