.dotfiles/nvim/lua/configs/conform.lua

16 lines
311 B
Lua
Raw Permalink Normal View History

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