feat: Add nvchad module and enable nvchad instead of nixvim

This commit is contained in:
ulic-youthlic 2025-10-18 23:10:53 +08:00
parent 66196be557
commit 65a72ab802
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
16 changed files with 460 additions and 4 deletions

View file

@ -0,0 +1,18 @@
local options = {
formatters_by_ft = {
lua = { "stylua" },
-- css = { "prettier" },
-- html = { "prettier" },
nix = {
"nixfmt",
lsp_format = "fallback",
},
},
format_on_save = {
-- These options will be passed to conform.format()
timeout_ms = 500,
lsp_fallback = true,
},
}
return options