update formatters

This commit is contained in:
Alexander Navarro 2025-04-07 09:18:03 -04:00
parent 1c1b6365ef
commit 1766e84f5d

View file

@ -3,13 +3,11 @@ return {
event = { "BufWritePre" }, event = { "BufWritePre" },
cmd = { "ConformInfo" }, cmd = { "ConformInfo" },
opts = { opts = {
-- log_level = vim.log.levels.DEBUG, -- See available formatters in: https://github.com/stevearc/conform.nvim#formatters
-- See aviable formatters in: https://github.com/stevearc/conform.nvim#formatters
-- Formatters can be installed by mason -- Formatters can be installed by mason
formatters_by_ft = { formatters_by_ft = {
-- Conform will run multiple formatters sequentially -- Conform will run multiple formatters sequentially
-- Use a stop_after_first = true to run only the first available formatter -- Use a stop_after_first = true to run only the first available formatters
-- Use the "_" filetype to run formatters on filetypes that don't -- Use the "_" filetype to run formatters on filetypes that don't
-- have other formatters configured. -- have other formatters configured.
["_"] = { "trim_whitespace" }, ["_"] = { "trim_whitespace" },
@ -24,10 +22,9 @@ return {
jsonc = { "biome" }, jsonc = { "biome" },
lua = { "stylua" }, lua = { "stylua" },
markdown = { "markdownlint" }, markdown = { "markdownlint" },
nim = { "nimpretty" },
php = { "pint" }, php = { "pint" },
python = { "ruff_format", "ruff_organize_imports" }, python = { "ruff_format", "ruff_organize_imports" },
scss = { "prettierd", "prettier", stop_after_first = true }, scss = { "biome", "prettierd", "prettier", stop_after_first = true },
sh = { "shfmt" }, sh = { "shfmt" },
toml = { "taplo" }, toml = { "taplo" },
typescript = { "biome" }, typescript = { "biome" },