aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/csharpier.lua
diff options
context:
space:
mode:
authorJesper Lundberg <lundberg.jesper@gmail.com>2023-10-28 20:27:02 +0200
committerGitHub <noreply@github.com>2023-10-28 11:27:02 -0700
commitb2368ff18a9dd9452170d3a6f41b1f872ae5d0b2 (patch)
tree73ef6f477d4526d7810065b9a1a2bd59b8c2a5e8 /lua/conform/formatters/csharpier.lua
parent253878436e2b6d73dfd91ccf0ac12d04cc683d34 (diff)
feat: add CSharpier (#165)
* Add formatter and update readme and conform.txt * Remove unused variable
Diffstat (limited to 'lua/conform/formatters/csharpier.lua')
-rw-r--r--lua/conform/formatters/csharpier.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/csharpier.lua b/lua/conform/formatters/csharpier.lua
new file mode 100644
index 0000000..50258e0
--- /dev/null
+++ b/lua/conform/formatters/csharpier.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/belav/csharpier",
+ description = "The opinionated C# code formatter",
+ },
+ command = "dotnet-csharpier",
+ args = { "--write-stdout" },
+ stdin = true,
+}