Full Refactor and history reset
This commit is contained in:
21
dotfiles/nvim/lua/configs/conform.lua
Normal file
21
dotfiles/nvim/lua/configs/conform.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
local options = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
elixir = { "mix" },
|
||||
javascript = { "prettier" },
|
||||
css = { "prettier" },
|
||||
html = { "prettier" },
|
||||
html = { "prettier" },
|
||||
heex = { "mix" },
|
||||
nix = { "nixfmt" },
|
||||
json = { "prettier" },
|
||||
},
|
||||
|
||||
format_on_save = {
|
||||
-- These options will be passed to conform.format()
|
||||
timeout_ms = 2000,
|
||||
lsp_fallback = true,
|
||||
},
|
||||
}
|
||||
|
||||
return options
|
||||
Reference in New Issue
Block a user