nazo6/installer.nvim

Omnisharp C# server not working

Closed this issue · 7 comments

image

Can you fix this ?

After installing omnisharp language server I fell hook command to attach client is not being executed.

How do I solve this problem ? any suggestion ?

Thank You

nazo6 commented

I'm not familiar with C#/.NET. Can you give me the procedure to reproduce it?

It should work in any .cs file

I will provide more details within few hours

nazo6 commented

Thanks, but I could reproduce it. I'm looking for a solution.

Thanks, but I could reproduce it. I'm looking for a solution.

Take any C sharp/ dot net project / file, which has .cs extension

Open it in Nvim, install omnisharp server, :LspInstall omnisharp/csharp

it should attach the client and provide the language features

Thanks

See, in my Linux machine, using nvim-lspinstall,
I installed csharp language server

2021-09-04-213228_253x799_scrot

Obviously it installed without any issue,

2021-09-04-212956_938x1033_scrot

and instantly it was hooked and providing LSP features

2021-09-04-213033_946x1042_scrot

2021-09-04-213120_949x314_scrot

with your plugin it is named as Omnisharp

It probably installs, but not working

Thank You

nazo6 commented

I fixed the problem.
Please update plugin and execute LspReInstall omnisharp.

I fixed the problem.
Please update plugin and execute LspReInstall omnisharp.

Yes it worked in my Windows 10 machine

Screenshot 2021-09-04 173552

great ! 👍🏻

image

Awesome ! you are a true Japanese 🥰

Thank You so much