From b25c9e729369f9f52f2986bb8543f45549fed206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20=C5=9Een?= Date: Wed, 11 Dec 2024 11:43:23 +0300 Subject: [PATCH] fix(cs-omnisharp): Fix bug in handler registration caused by wrong lsp name (#1279) * feat(cs-omnisharp): add csharp support with omnisharp * fix(cs-omnisharp): `omnisharp-extended-lsp.nvim` handler registration --- lua/astrocommunity/pack/cs-omnisharp/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/pack/cs-omnisharp/init.lua b/lua/astrocommunity/pack/cs-omnisharp/init.lua index 347b24586..5e37b3afd 100644 --- a/lua/astrocommunity/pack/cs-omnisharp/init.lua +++ b/lua/astrocommunity/pack/cs-omnisharp/init.lua @@ -30,7 +30,7 @@ return { "AstroNvim/astrolsp", opts = { config = { - csharp_ls = { + omnisharp = { handlers = { ["textDocument/definition"] = function(...) require("omnisharp_extended").definition_handler(...) end, ["textDocument/typeDefinition"] = function(...)