local options = {
	format_on_save = {
		lsp_format = "fallback",
		timeout_ms = 500,
	},

	formatters_by_ft = {
		lua = { "stylua" },
		php = { "php_cs_fixer" },
		go = { "gofumpt", "goimports", "golines" },
		javascript = { "biome" },
		c = { "clang_format" },
		cpp = { "clang_format" },
		python = { "ruff_format" },
		sh = { "shfmt" },
		java = { "google-java-format" },
		-- shfmt doesn't support zsh yet
		-- zsh = { "shfmt" },
		xml = { "xmlformat" },
		html = { "htmlbeautifier" },
	},
}

require("conform").setup(options)
