LanguageClient-neovim icon indicating copy to clipboard operation
LanguageClient-neovim copied to clipboard

Apple Silicon Not Supported (again?)

Open after-ephemera opened this issue 1 year ago • 3 comments

  • Did you upgrade to latest plugin version? yes
  • Did you upgrade to/compile latest binary? Run shell command bin/languageclient --version to get its version number. This doesn't work because it didn't install.
  • (Neovim users only) Did you check output of :checkhealth LanguageClient? Yes.
  • Did you check troubleshooting? Yes

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

  • neovim/vim version (nvim --version or vim --version): 2.1.0-beta3
  • This plugin version (git rev-parse --short HEAD): cf6dd11
  • This plugin's binary version (bin/languageclient --version): N/A
  • Minimal vimrc content (A minimal vimrc is the smallest vimrc that could reproduce the issue. Refer to an example here): just the plug definition
  • Language server link and version: N/A

To Reproduce

Steps to reproduce the behavior:

  • Try to PlugInstall on Apple Silicon

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

after-ephemera avatar Feb 28 '23 02:02 after-ephemera

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.

jonathan-zc avatar May 02 '23 09:05 jonathan-zc

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 avatar May 12 '23 17:05 wjdhamilton

Sorry! My problem was fixed with #1236

wjdhamilton avatar May 12 '23 17:05 wjdhamilton