From fdd7e3516dbef657505a132212386a42372675fc Mon Sep 17 00:00:00 2001 From: Ahmet Sen Date: Wed, 25 Dec 2024 02:07:55 +0300 Subject: [PATCH] feat(pack): add conform csharpier registrations --- lua/astrocommunity/pack/cs-omnisharp/init.lua | 9 +++++++++ lua/astrocommunity/pack/cs/init.lua | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/lua/astrocommunity/pack/cs-omnisharp/init.lua b/lua/astrocommunity/pack/cs-omnisharp/init.lua index 5e37b3afd..a1ee953c7 100644 --- a/lua/astrocommunity/pack/cs-omnisharp/init.lua +++ b/lua/astrocommunity/pack/cs-omnisharp/init.lua @@ -71,4 +71,13 @@ return { table.insert(opts.adapters, require "neotest-dotnet"(require("astrocore").plugin_opts "neotest-dotnet")) end, }, + { + "stevearc/conform.nvim", + optional = true, + opts = { + formatters_by_ft = { + cs = { "csharpier" }, + }, + }, + }, } diff --git a/lua/astrocommunity/pack/cs/init.lua b/lua/astrocommunity/pack/cs/init.lua index a674a5288..96253ec4d 100644 --- a/lua/astrocommunity/pack/cs/init.lua +++ b/lua/astrocommunity/pack/cs/init.lua @@ -67,4 +67,13 @@ return { table.insert(opts.adapters, require "neotest-dotnet"(require("astrocore").plugin_opts "neotest-dotnet")) end, }, + { + "stevearc/conform.nvim", + optional = true, + opts = { + formatters_by_ft = { + cs = { "csharpier" }, + }, + }, + }, }