mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-08 18:56:34 +05:30
repalce astrovim with nvchad
This commit is contained in:
21
pkgs/nvchad/custom/configs/conform.lua
Normal file
21
pkgs/nvchad/custom/configs/conform.lua
Normal 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)
|
Reference in New Issue
Block a user