fix: use specific formatter for templ files
This commit is contained in:
@@ -3,10 +3,9 @@ return {
|
||||
lazy = false,
|
||||
opts = {
|
||||
notify_on_error = true,
|
||||
-- formatters_by_ft = {
|
||||
-- svelte = { "prettier" },
|
||||
-- vue = { "prettier" },
|
||||
-- },
|
||||
formatters_by_ft = {
|
||||
templ = { "templ" },
|
||||
},
|
||||
format_on_save = {
|
||||
lsp_fallback = true,
|
||||
timeout_ms = 1500,
|
||||
Reference in New Issue
Block a user