jmederosalvarado / roslyn.nvim

Roslyn LSP plugin for neovim
MIT License
192 stars 33 forks source link

razor, cshtml files #32

Open moreiraio opened 3 months ago

moreiraio commented 3 months ago

Hi,

quick question, does this support razor cshtml files?

tilupe commented 3 months ago

It doesn't, as far as I know. But I saw that there is a razor lsp in the dotnet project. Does anybody have some experience with that? https://github.com/dotnet/razor/blob/main/src/Razor/src/rzls/Program.cs

moreiraio commented 2 months ago

Hi, I've managed to make the razor lsp work and attach.

VKG147 commented 2 months ago

@moreiraio could you perhaps share your configuration that you got working with the razor lsp? I'd greatly appreciate it :)

moreiraio commented 2 months ago

Hey, yes: https://github.com/moreiraio/razor.nvim

It's a draft yet just to make it work, I want it to evolve to a plugin.

I've been able to intercept the lsp messages between vscode and the server.

If more people want to join in making the c#/.net experience great in neovim that would be great

VKG147 commented 2 months ago

Thank you! I'm all for making the C# experience better for neovim users. Coming from visual studio I'm still very new to neovim and lua, hopefully one day I can help the effort.

albinlju commented 1 month ago

Much appreciated! I'm also all for making the C#/.NET experience better for neovim users. Razor is the missing piece, atleast for me to fully go all in. But before i try to help i want to make sure there isn't any license concerns regarding rzls lsp with the vscode license.

InfinytRam commented 1 week ago

@moreiraio , nice!! are you able to provide docs on how to set it up?

marcinjahn commented 1 week ago

I suggest you have a look at this fork: https://github.com/seblj/roslyn.nvim This repo seems to be dead, while the other one is accepting PRs and seems to be growing.

InfinytRam commented 1 week ago

Thanks @marcinjahn, does that plugin support LSP for razor/cshtml files?

marcinjahn commented 1 week ago

Nope, but if any of you intend to add such support, I guess there’s much bigger chance for such a PR to be merged there than here :)