repalce astrovim with nvchad

This commit is contained in:
2024-03-01 18:33:09 +05:30
parent 873d67fb40
commit b404c2b66f
11 changed files with 305 additions and 40 deletions

View File

@ -0,0 +1,21 @@
local prettier = { "prettierd", "prettier" }
local options = {
lsp_fallback = true,
formatters_by_ft = {
lua = { "stylua" },
javascript = { prettier },
typescript = { prettier },
javascriptreact = { prettier },
typescriptreact = { prettier },
json = { prettier },
jsonc = { prettier },
css = { prettier },
html = { prettier },
markdown = { prettier },
nix = { "alejandra" },
},
}
require("conform").setup(options)