feat(omnisharp): override lsp goto keybinds to use omnisharp_extended

This commit is contained in:
zspher 2024-06-12 12:52:36 +08:00
parent 92ab058118
commit 8259472770
No known key found for this signature in database
GPG key ID: 58A2293163A15B00

View file

@ -62,10 +62,31 @@ return {
{
"gd",
function()
require("omnisharp_extended").telescope_lsp_definitions()
require("omnisharp_extended").telescope_lsp_definitions({ reuse_win = true })
end,
desc = "Goto Definition",
},
{
"gr",
function()
require("omnisharp_extended").telescope_lsp_references()
end,
desc = "References",
},
{
"gI",
function()
require("omnisharp_extended").telescope_lsp_implementation({ reuse_win = true })
end,
desc = "Goto Implementation",
},
{
"gy",
function()
require("omnisharp_extended").telescope_lsp_type_definition({ reuse_win = true })
end,
desc = "Goto T[y]pe Definition",
},
},
enable_roslyn_analyzers = true,
organize_imports_on_format = true,