add nvchad_types & .stylua.toml

This commit is contained in:
siduck 2024-03-18 06:34:01 +05:30
parent 9d47133ba1
commit 726248c2f3
6 changed files with 75 additions and 9 deletions

View file

@ -1,9 +1,15 @@
local options = {
lsp_fallback = true,
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)