Revert "feat: Move nvchad config to ulic-youthlic/nvchad-starter"
This reverts commit 9c59296b24.
This commit is contained in:
parent
8fd58722da
commit
55c578d3db
12 changed files with 356 additions and 11 deletions
18
nvchad/lua/configs/conform.lua
Normal file
18
nvchad/lua/configs/conform.lua
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue