feat(format): make stdout/stderr selection mutually exclusive

This commit is contained in:
2024-08-12 21:31:34 +02:00
parent c865878d1d
commit 76a73fc251
5 changed files with 35 additions and 39 deletions
+2 -4
View File
@@ -16,8 +16,7 @@ return {
rhs = function()
utils.format({
cmd = { "stylua", "-" },
stdin = true,
stdout = true,
output = "stdout",
})
end,
},
@@ -34,8 +33,7 @@ return {
"--range-end",
"%byte_end%",
},
stdin = true,
stdout = true,
output = "stdout",
})
end,
},