diff options
Diffstat (limited to 'nvim/lua/plugins/conform.lua')
| -rw-r--r-- | nvim/lua/plugins/conform.lua | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/nvim/lua/plugins/conform.lua b/nvim/lua/plugins/conform.lua deleted file mode 100644 index 3204d2d..0000000 --- a/nvim/lua/plugins/conform.lua +++ /dev/null @@ -1,35 +0,0 @@ -return { - "stevearc/conform.nvim", - opts = { - formatters_by_ft = { - javascript = { "prettier" }, - typescript = { "prettier" }, - javascriptreact = { "prettier" }, - typescriptreact = { "prettier" }, - css = { "prettier" }, - html = { "prettier" }, - json = { "prettier" }, - yaml = { "prettier" }, - markdown = { "prettier" }, - graphql = { "prettier" }, - lua = { "stylua" }, - python = { "isort", "black" }, - go = { "gofmt" }, - templ = { "templ" }, - }, - format_on_save = { - lsp_fallback = true, - async = false, - timeout_ms = 500, - }, - }, - keys = { - { - "<leader>mp", - function() - require("conform").format({ lsp_fallback = true, async = false, timeout_ms = 500 }) - end, - desc = "Format file or range (in visual mode)", - }, - }, -} |
