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