|
|
|
@ -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 },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|