-
-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Omnisharp doesn't work on M1 Mac #1278
Comments
Hi @sonderistic, I'm coming from the neovim issue you linked, thanks for that! The reason why the workaround didn't work for you, because the workaround is to not use Custom handlers (marked as suboptimal), but use Custom commands / keymaps (marked as optimal) instead: https://github.com/Hoffs/omnisharp-extended-lsp.nvim?tab=readme-ov-file#how-to-use. However AstroNvim uses custom handlers at
As a user I'm not sure what's the best solution as I haven't used a nvim distro, if you cant find a way to turn off the built in omnisharp-extended plugin or config, or override that, you can make a fork where that is removed and use that in your config until it's fixed. |
Hello @gepbird, thanks for your input. I have replaced the suboptimal solution with the one you prescribed (I think- I ChatGPT'd it), but am still getting the same error so it must be wrongly implemented:
Could you please advise me on how to properly use the optimal solution? |
@sonderistic at first sight that looks good, are you sure that configuration is being used and not the default AstroVim? Also "downgrading" to the latest stable nvim release (0.10.2) should also get rid of the error. If you still want to use the nightly nvim, please share more context (like another minimal reproduction) with your modified/overridden AstroNvim config (or wait for maintainers to fix it) |
created a PR that solves the issue. the problem was that the language server name was |
Checklist
repro.lua
provided belowNeovim version (nvim -v)
v0.10.2
Operating system/version
macOS 15.0
Terminal/GUI
iTerm2
Describe the bug
Omnisharp simply does not work on the M1 Mac. Attempting to "go to definition" yields the error seen in the screencap. What's puzzling is that autocomplete suggestions seem to be present, but accepting a suggestion will yield the same error.
Steps to Reproduce
dotnet new mvc
via terminal)nvim -u repro.lua
Expected behavior
LSP should work.
Screenshots
No response
Additional Context
Looks like someone else has this exact problem on the Neovim repo:
neovim/neovim#30908
Minimal configuration
The text was updated successfully, but these errors were encountered: