Skip to content

Commit b5da1b5

Browse files
committed
feat(fmt): replace biome/yamlfmt with prettierd in conform.nvim
1 parent bb598ea commit b5da1b5

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

lua/modules/configs/completion/conform.lua

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,30 @@ return function()
9595
cmake = { "cmake_format" },
9696
cpp = { "clang-format" },
9797
cs = { "clang-format" },
98-
css = { "biome" },
98+
css = { "prettierd" },
9999
go = { "goimports", "gofumpt" },
100100
cuda = { "clang-format" },
101-
graphql = { "biome" },
101+
graphql = { "prettierd" },
102102
html = { "superhtml" },
103-
javascript = { "biome" },
104-
javascriptreact = { "biome" },
105-
json = { "fixjson", "biome" },
106-
jsonc = { "fixjson", "biome" },
103+
javascript = { "prettierd" },
104+
javascriptreact = { "prettierd" },
105+
json = { "fixjson", "prettierd" },
106+
jsonc = { "fixjson", "prettierd" },
107107
lua = { "stylua" },
108108
markdown = { "mdsf" },
109109
nix = { "nixfmt", "statix" },
110110
objc = { "clang-format" },
111111
objcpp = { "clang-format" },
112112
proto = { "clang-format" },
113113
sh = { "shellharden" },
114-
typescript = { "biome" },
115-
typescriptreact = { "biome" },
116-
yaml = { "yamlfmt" },
114+
angular = { "prettierd" },
115+
handlebars = { "prettierd" },
116+
less = { "prettierd" },
117+
scss = { "prettierd" },
118+
typescript = { "prettierd" },
119+
typescriptreact = { "prettierd" },
120+
vue = { "prettierd" },
121+
yaml = { "prettierd" },
117122
zsh = { "beautysh" },
118123
},
119124
formatters = {
@@ -125,11 +130,6 @@ return function()
125130
args = { "fix", "--stdin" },
126131
stdin = true,
127132
},
128-
yamlfmt = {
129-
command = "yamlfmt",
130-
args = { "-in" },
131-
stdin = true,
132-
},
133133
},
134134
format_on_save = format_on_save_enabled and function(bufnr)
135135
-- Check disabled filetypes

0 commit comments

Comments
 (0)