mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(omnisharp): override lsp goto keybinds to use omnisharp_extended
This commit is contained in:
parent
92ab058118
commit
8259472770
1 changed files with 22 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue