Anybody using the new roslyn lsp update in neovim?

Hi guys, I'm new to neovim and I'm trying to setup a good environment to have a nice experience programming with .NET.
When I open a .cs file it works fine, as it used to, but when I open a razor file, the LSP does not recognize it and I just have white text without autocompletion or anything. I'm using only the Lazy plugin manager, not LazyVim. If I open a razor file first and run checkhealth vim.lsp there is no LSP attached, if I open a .cs file and run the same command I have:

vim.lsp: Active Clients ~
- roslyn (id: 1)
  - Version: ? (no serverInfo.version response)
  - Root directory: /mnt/d/my-projects/learning/Testing
  - Command: { "roslyn", "--stdio", "--logLevel=Information", "--extensionLogDirectory=/home/saraivinha/.local/state/nvim", "--razorSourceGenerator=/home/saraivinha/.local/share/nvim/mason/packages/roslyn/libexec/.razorExtension/Microsoft.CodeAnalysis.Razor.Compiler.dll", "--razorDesignTimePath=/home/saraivinha/.local/share/nvim/mason/packages/roslyn/libexec/.razorExtension/Targets/Microsoft.NET.Sdk.Razor.DesignTime.targets", "--extension=/home/saraivinha/.local/share/nvim/mason/packages/roslyn/libexec/.razorExtension/Microsoft.VisualStudioCode.RazorExtension.dll" }
  - Settings: {}
  - Attached buffers: 24

And after opening a .cs file and executing checkhealth roslyn, here is what I get:

==============================================================================
roslyn:                                                                     ✅

roslyn.nvim: Requirements ~
- ✅ OK Neovim >= 0.11
- ✅ OK dotnet: found

roslyn.nvim: Roslyn Language Server ~
- ✅ OK /home/saraivinha/.local/share/nvim/mason/bin/roslyn: found

roslyn.nvim: File Watching Configuration ~
- File watching: auto (using Neovim's file watcher)

roslyn.nvim: Solution Detection ~
- No solution selected

Thanks guys!
Was this page helpful?