From 6cc8fbfd773c2d2ef6d250267d4d00685d615e79 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 14 Mar 2026 21:43:43 -0500 Subject: [PATCH 1/8] remove the omnisharp language server --- init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/init.lua b/init.lua index 51af4b56..4330569f 100644 --- a/init.lua +++ b/init.lua @@ -656,7 +656,6 @@ require('lazy').setup({ local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { -- You can add other tools here that you want Mason to install - 'omnisharp', -- C# Language Server }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } From c47ffa3031cfe8e0136741bcd2b60f04cdf10d8d Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 14 Mar 2026 22:10:19 -0500 Subject: [PATCH 2/8] use crashdummyy registry in mason for access to roslyn lsp --- init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 4330569f..7237b2e8 100644 --- a/init.lua +++ b/init.lua @@ -495,7 +495,12 @@ require('lazy').setup({ ---@module 'mason.settings' ---@type MasonSettings ---@diagnostic disable-next-line: missing-fields - opts = {}, + opts = { + registries = { + 'github:mason-org/mason-registry', + 'github:Crashdummyy/mason-registry', + }, + }, }, -- Maps LSP server names between nvim-lspconfig and Mason package names. 'mason-org/mason-lspconfig.nvim', From ebc82857dc1e43b3adf18ce3f6c700290d0ac166 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 14 Mar 2026 22:12:39 -0500 Subject: [PATCH 3/8] initial roslyn configuration --- lua/custom/plugins/roslyn.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/custom/plugins/roslyn.lua diff --git a/lua/custom/plugins/roslyn.lua b/lua/custom/plugins/roslyn.lua new file mode 100644 index 00000000..71c264e2 --- /dev/null +++ b/lua/custom/plugins/roslyn.lua @@ -0,0 +1,8 @@ +return { + 'seblyng/roslyn.nvim', + ---@module 'roslyn.config' + ---@type RoslynNvimConfig + opts = { + -- your configuration comes here; leave empty for default settings + }, +} From 00bea79e44773226e583e3d4f2808f51d7cd822e Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sat, 14 Mar 2026 22:18:49 -0500 Subject: [PATCH 4/8] ensure roslyn installed --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 7237b2e8..d210e901 100644 --- a/init.lua +++ b/init.lua @@ -661,6 +661,7 @@ require('lazy').setup({ local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { -- You can add other tools here that you want Mason to install + 'roslyn', }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } @@ -702,6 +703,7 @@ require('lazy').setup({ } end end, + --TODO: need formating for c#/roslyn formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially @@ -715,6 +717,7 @@ require('lazy').setup({ }, }, + --TODO: need autocompletion for c#/roslyn { -- Autocompletion 'saghen/blink.cmp', event = 'VimEnter', From 7517fb4d7194f30a32f2440dc6ce71d1645284d2 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sun, 15 Mar 2026 01:21:20 -0500 Subject: [PATCH 5/8] replace roslyn with omnisharp --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index d210e901..bbcbcda6 100644 --- a/init.lua +++ b/init.lua @@ -619,6 +619,8 @@ require('lazy').setup({ -- But for many setups, the LSP (`ts_ls`) will work just fine -- ts_ls = {}, + omnisharp = {}, + stylua = {}, -- Used to format Lua code -- Special Lua Config, as recommended by neovim help docs @@ -661,7 +663,7 @@ require('lazy').setup({ local ensure_installed = vim.tbl_keys(servers or {}) vim.list_extend(ensure_installed, { -- You can add other tools here that you want Mason to install - 'roslyn', + 'omnisharp', }) require('mason-tool-installer').setup { ensure_installed = ensure_installed } From 341741faeb06518eee0e3207dd0db236ffdc7868 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sun, 15 Mar 2026 01:21:47 -0500 Subject: [PATCH 6/8] remove custom roslyn plugin --- lua/custom/plugins/roslyn.lua | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 lua/custom/plugins/roslyn.lua diff --git a/lua/custom/plugins/roslyn.lua b/lua/custom/plugins/roslyn.lua deleted file mode 100644 index 71c264e2..00000000 --- a/lua/custom/plugins/roslyn.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - 'seblyng/roslyn.nvim', - ---@module 'roslyn.config' - ---@type RoslynNvimConfig - opts = { - -- your configuration comes here; leave empty for default settings - }, -} From 65e93fd6fca6a4ed0433db61b0009d4013312dce Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sun, 15 Mar 2026 01:26:37 -0500 Subject: [PATCH 7/8] accept autocomplete suggestions with tab --- init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index bbcbcda6..bea5aebd 100644 --- a/init.lua +++ b/init.lua @@ -705,7 +705,7 @@ require('lazy').setup({ } end end, - --TODO: need formating for c#/roslyn + --TODO: need formating for c#/omnisharp formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially @@ -719,7 +719,6 @@ require('lazy').setup({ }, }, - --TODO: need autocompletion for c#/roslyn { -- Autocompletion 'saghen/blink.cmp', event = 'VimEnter', @@ -776,7 +775,7 @@ require('lazy').setup({ -- : Toggle signature help -- -- See :h blink-cmp-config-keymap for defining your own keymap - preset = 'default', + preset = 'super-tab', -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see: -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps From b8c00e8ab5edb4d4bcc0a59cbd3f244a44f07e42 Mon Sep 17 00:00:00 2001 From: Nick Burt Date: Sun, 15 Mar 2026 01:28:39 -0500 Subject: [PATCH 8/8] remove todo requiring formatting for omnisharp. already complete --- init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/init.lua b/init.lua index bea5aebd..84a718e3 100644 --- a/init.lua +++ b/init.lua @@ -705,7 +705,6 @@ require('lazy').setup({ } end end, - --TODO: need formating for c#/omnisharp formatters_by_ft = { lua = { 'stylua' }, -- Conform can also run multiple formatters sequentially