aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/lua/configs/conform.lua
blob: 3553caf7df0c9c406fe59308f7db79005072afee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local options = {
  formatters_by_ft = {
    lua = { "stylua" },
    css = { "prettier" },
    html = { "prettier" },
    markdown = { "prettier" }
  },

  -- format_on_save = {
  --   -- These options will be passed to conform.format()
  --   timeout_ms = 500,
  --   lsp_fallback = true,
  -- },
}

require("conform").setup(options)