autozimu / LanguageClient-neovim

Language Server Protocol (LSP) support for vim and neovim.
MIT License
3.55k stars 273 forks source link

Apple Silicon Not Supported (again?) #1259

Open after-ephemera opened 1 year ago

after-ephemera commented 1 year ago

Describe the bug

In what appears to be a repeat of #1201, the rust-toolchain file prevents Apple Silicon support (not added until 1.49.0).

Environment

To Reproduce

Steps to reproduce the behavior:

Current behavior

Installation fails with Invalid value for argument cmd: '/Users/user/.vim/plugged/LanguageClient-neovim/bin/languageclient' is not executable

Expected behavior

The plugin installs successfully.

Screenshots

N/A

Additional context

N/A

jonathan-zc commented 1 year ago

This issue maybe cause by rust version not support, I also had similar error when I use LanguageClient on neovim. I change the LanguageClient-neovim rust version fix this. Edit ~/.vim/plugged/LanguageClient-neovim/rust-toolchain file, change to latest rust version 1.69.0. Hope this can helps you.

wjdhamilton commented 1 year ago

I'm having the same problem on a brand new MacBookPro.

I tried changing the rust version, but it didn't help...

Ah! When I run bin/languageclient --version I get:

No pre-built binary available for Darwin arm64. cargo is not available. Abort.

Maybe a different issue. I'll go and check!

wjdhamilton commented 1 year ago

Sorry! My problem was fixed with #1236