update formatters
This commit is contained in:
parent
1c1b6365ef
commit
1766e84f5d
1 changed files with 3 additions and 6 deletions
|
|
@ -3,13 +3,11 @@ return {
|
|||
event = { "BufWritePre" },
|
||||
cmd = { "ConformInfo" },
|
||||
opts = {
|
||||
-- log_level = vim.log.levels.DEBUG,
|
||||
|
||||
-- See aviable formatters in: https://github.com/stevearc/conform.nvim#formatters
|
||||
-- See available formatters in: https://github.com/stevearc/conform.nvim#formatters
|
||||
-- Formatters can be installed by mason
|
||||
formatters_by_ft = {
|
||||
-- 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
|
||||
-- have other formatters configured.
|
||||
["_"] = { "trim_whitespace" },
|
||||
|
|
@ -24,10 +22,9 @@ return {
|
|||
jsonc = { "biome" },
|
||||
lua = { "stylua" },
|
||||
markdown = { "markdownlint" },
|
||||
nim = { "nimpretty" },
|
||||
php = { "pint" },
|
||||
python = { "ruff_format", "ruff_organize_imports" },
|
||||
scss = { "prettierd", "prettier", stop_after_first = true },
|
||||
scss = { "biome", "prettierd", "prettier", stop_after_first = true },
|
||||
sh = { "shfmt" },
|
||||
toml = { "taplo" },
|
||||
typescript = { "biome" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue