Comments (10)
I had the same issue. Message in the log file said:
Failed to download language server binary.
As far as I was able to debug this issue, the problem is in /autoload/codeium/server.vim line 126.
At least in nvim 0.6.0 expand('<script>:p:h:h:h')
returns empty string which results in plugin trying to download language server binary to the path /bin
and obviously not succeeding.
from codeium.vim.
I had the same issue.
from codeium.vim.
@juliosueiras I remember you modified that line, could it be we need to revert it? @frei-0xff what happens if you try to install at 78998ff instead?
from codeium.vim.
@frei-0xff what happens if you try to install at 78998ff instead?
It doesn't work too.
Code expand('<sfile>:h:h')
returns string .
in nvim 0.6.0.
So it is trying to create bin
folder in the current directory and download language server binary there.
Update:
When code expand('<sfile>:h:h')
is called in
codeium.vim/plugin/codeium.vim
Line 57 in 38242b7
.
from codeium.vim.
Would it make more sense to use an plugin variable as a way to define the location to download and store the language server binary?
from codeium.vim.
couldn't you install the language server binary in fn.stdpath("data")
?
from codeium.vim.
okay, for whatever weird reason, I just installed codium on a different device, with 100% the same config and this issue does not occur on this device – suggestion occur just fine here.
Also, I did not need to set up any authentification on the second device, it just worked out of the box.
from codeium.vim.
it might make more sense to reuse the codeium config directory to download the binary? given that the <sfile>/<script>
have unpredictable behaviour
from codeium.vim.
Created this PR #15 for that purpose
from codeium.vim.
couldn't you install the language server binary in
fn.stdpath("data")
?
Seems this may not exist in Vim.
Created this PR #15 for that purpose
This seems like a reasonable solution. Later we can add an override if people prefer.
from codeium.vim.
Related Issues (20)
- Codeium is not working HOT 1
- '$HOME' directory in my "$HOME"
- Inibition shortcut HOT 2
- where do get auth token?
- Missing chat language server URL.
- It always duplicates the current row within the return statement when I exit insert mode after accepting its suggestion when I destructure props within function param (typescriptreact) HOT 1
- Codeium auth issue HOT 1
- Whether Zed will be supported?
- Hi HOT 1
- Support For Zed?
- Does not work on Neovim HOT 4
- language server error HOT 1
- A possible resolution of tab completion HOT 3
- Language Server Failed
- java.lang.IllegalArgumentException: Invalid URL port: "0" HOT 3
- Failed start on Dev Container
- Neofetch Interferes with Codeium Functionality in Neovim
- Why is my codeium spitting out this error HOT 3
- Language server memory leakage HOT 4
- Default Tab mapping is not mapped with lazy loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeium.vim.