mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 08:35:53 +02:00
fix(omnisharp): use Go To Definition with fzf.lua (#4260)
## Description There was a problem with Omnisharp with fzf.lua enabled instead of telescope. As discussed in #4258, this change makes Go To Definition work with fzf.lua. ## Related Issue(s) - Fixes #4258 ## Checklist - [x ] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
parent
627215a72b
commit
39ca76c960
1 changed files with 3 additions and 1 deletions
|
@ -52,8 +52,10 @@ return {
|
|||
keys = {
|
||||
{
|
||||
"gd",
|
||||
function()
|
||||
LazyVim.has("telescope.nvim") and function()
|
||||
require("omnisharp_extended").telescope_lsp_definitions()
|
||||
end or function()
|
||||
require("omnisharp_extended").lsp_definitions()
|
||||
end,
|
||||
desc = "Goto Definition",
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue