Why don't you append chmod u+x bin/$name to install.sh?
The install.sh is already an executable.
You need either run the script to download latest binary or follow the latest installation instruction https://github.com/autozimu/LanguageClient-neovim/blob/next/INSTALL.md#3-install-this-plugin.
The install.sh is an executable. bin/languageclient which is downloaded with install.sh isn't an executable.
Hmm. This is unexpected.
It used to have executable bit previously.
I'm unsure what I need to do to get this working. I have the following configuration in my .vimrc, and per @autozimu suggestion:
Plugin 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
I am still receiving the following error:
LanguageClient: Not executable!
Press ENTER or type command to continue
I dug around in ~/.vim/bundle/LanguageClient-neovim/install.sh, but I couldn't see what I need to make executable to make it execute.
Can you check if the binary is executable in your host?
You can see previous diff to add executable bit.
Hi @autozimu can you be more specific?
A). Which binary? Can you tell me where to find the binary file so that I can check whether or not it is executable?
B). The previous diff of what? install.sh?
A) In your copy of plugin, bin/languageclient
B) https://github.com/autozimu/LanguageClient-neovim/commit/b2fea8e2c58f5bd89f4e51e586ccea299b8c19ad
@autozimu if I run locate languageclient on my machine, all of the candidates are related to Visual Studio Code. I'm not seeing any vim-related results. Additionally, this command returns nothing for me:
โฏ find ~/.vim -type f -name 'languageclient'
Any ideas as to where I locate bin/languageclient?
@autozimu regarding the diff, my version of the install.sh has the call to chmod, so I'm not sure what else to do.
@autozimu and future readers, I got this working by manually downloading the release from the GH release page and running:
$ curl --location https://github.com/autozimu/LanguageClient-neovim/releases/download/0.1.25/languageclient-0.1.25-x86_64-apple-darwin --output ~/.vim/bundle/LanguageClient-neovim/bin/languageclient && chmod 755 ~/.vim/bundle/LanguageClient-neovim/bin/languageclient
@wpcarro worked for me thanks! I just replaced the ~/.vim/bundle/ with my plugin manager location, in my case using dein and neovim so... ~/.cache/dein/repos/github.com/autozimu/.
thanks!
I had the same problem and fixed it by replacing
Plugin 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
by
Plugin 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': './install.sh',
\ }
I had to go into my minpac plugin directory for LanguageClient-neovim and manually run install.sh to get this working...
got the same error LanguageClient: Not executable! on ubuntu 18.04
the last part command from wpcarro fix it
chmod 755 ~/.vim/bundle/LanguageClient-neovim/bin/languageclient
Most helpful comment
I had to go into my
minpacplugin directory forLanguageClient-neovimand manually runinstall.shto get this working...