initial commit

This commit is contained in:
2025-12-30 01:31:05 -06:00
commit 24d5bcc047
20 changed files with 1045 additions and 0 deletions

23
lua/format.lua Normal file
View File

@@ -0,0 +1,23 @@
plugin({
"stevearc/conform.nvim",
event = { "BufWritePre" },
cmd = { "ConformInfo" },
opts = {
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,
},
},
})