Closed art3xias23 closed 9 months ago
Hi, OmniSharp-vim is not an LSP server, it's a client doing the same thing as lsp.
To check if your OmniSharp-vim is working correctly, check your logs with :OmniSharpOpenLog
Edit: OmniSharp-roslyn is the language server that OmniSharp-vim uses, and that is an LSP server. You can use nvim lsp to communicate directly with OmniSharp-roslyn, without needing OmniSharp-vim. I don't know how to configure or troubleshoot that though.
This was on me with not understanding what i was dealing with and what i was using.
My issue was resolved with some other plugins providing the functionality I needed.
Config that helped me find what i was looking for: Here
Hi all,
I've been setting up my neovim omnisharp lsp config.
I'm running on Windows10 with WSL2, using Debian 11.
neovim and dotnet tools are installed via apt.
Using lsp-zero for keybindings and autocompletion.
Using mason to manage lsps from neovim.
lsp.lua
When i have a small solution in .net 8 with 2 projects in it. A console app and a library
Main |---App ||-------Program.cs ||-------Helper.cs |---Logic ||------Logic.cs
I can navigate to Helper or Logic functions from App.cs that's all fine. Hover and jump to definition work amazingly.
The issue arises when I move onto another .net 8 solution. Production level.
1 Api project and 4 library projects.
I have completion and hover over .Contcat, strings ,etc, however, I cannot go to a definition from my Program.cs even to a file within the same project.(accessible via vscode or vs2022
All namespaces and using statements are in place.
No errors in my ~/.local/state/nvim/lsp.log
Any advice would be greatly appreciated!