VoidVim/lua/configs/conform.lua

16 lines
311 B
Lua
Raw Normal View History

2024-03-09 19:03:44 +03:00
local options = {
formatters_by_ft = {
lua = { "stylua" },
2024-03-18 04:04:01 +03:00
-- css = { "prettier" },
-- html = { "prettier" },
2024-03-09 19:03:44 +03:00
},
2024-03-18 04:04:01 +03:00
-- format_on_save = {
-- -- These options will be passed to conform.format()
-- timeout_ms = 500,
-- lsp_fallback = true,
-- },
2024-03-09 19:03:44 +03:00
}
require("conform").setup(options)