feat: configura deno_fmt como prioridade para arquivos typescript

This commit is contained in:
Lucas Garcia Rubio 2025-04-19 13:31:05 -03:00
parent 63fc6b84b4
commit 9ec28738f5
1 changed files with 4 additions and 1 deletions

View File

@ -741,6 +741,9 @@ require('lazy').setup({
},
},
opts = {
formatters = {
deno_fmt = {},
},
notify_on_error = false,
format_on_save = function(bufnr)
-- Disable "format_on_save lsp_fallback" for languages that don't
@ -765,7 +768,7 @@ require('lazy').setup({
--
-- You can use 'stop_after_first' to run the first available formatter from the list
javascript = { 'prettierd', 'prettier', 'prettierrc', stop_after_first = true },
typescript = { 'prettier', ' prettierd', 'prettierrc', stop_after_first = true },
typescript = { 'deno_fmt', 'prettier', ' prettierd', 'prettierrc', stop_after_first = true },
},
},
},