Files
nvim-configs/lua/configs/conform.lua
2024-09-29 01:54:16 +02:00

19 lines
382 B
Lua

local options = {
formatters_by_ft = {
lua = { "stylua" },
-- css = { "prettier" },
-- html = { "prettier" },
-- python = { "isort", "black" },
python = { "ruff" },
yaml = { "prettier" },
},
-- format_on_save = {
-- -- These options will be passed to conform.format()
-- timeout_ms = 500,
-- lsp_fallback = true,
-- },
}
return options