Comments (12)
@ZSaberLv0 If curl is hanging, maybe you can try adding an argument like --max-time
to the invocations of curl in the plugin. Is the service working otherwise? If we need to investigate further maybe you can make a new issue, seems like this is sufficiently different.
from codeium.vim.
@chrisgrieser there will always be exactly 2 processes actually; one is the child process of the other.
from codeium.vim.
There should only be one codeium process per nvim process. The fact that you have so many suggests that maybe many processes are not being killed when nvim exits. I can look into this.
from codeium.vim.
Curious if #102 fixes this issue for you. We now explicitly call jobstop
upon VimLeave
which should kill the language server process.
from codeium.vim.
Indeed, after exiting Neovim, all processes of Codeium are terminated. However, my typical usage scenario involves opening two panes in Tmux - one to open Neovim and one to run a program, as shown in the figure below. Since Codeium uses too many processes, I have to exit Neovim in order to run the program with multithread. Therefore, I hope to limit the number of processes so that I can run multi-threaded programs without closing Neovim.
from codeium.vim.
Hmm, I'm not sure why we're launching so many processes then.
can you add the following line to function! s:ActuallyStart() abort
inside codeium.vim/autoload/codeium/server.vim
?
call codeium#log#Error('Starting language server.')
And then the following line to your init.nvim
file:
let g:codeium_log_file = '/home/<user>/codeium.log`
Then tail the log file and let us know what actions cause Starting language server
to get printed?
from codeium.vim.
Sorry for the late reply. I have attached the log file.
codeium.log
from codeium.vim.
got similar issue, codeium created many curl task during usage, but all of them would exit properly when vim exited
from codeium.vim.
@ZSaberLv0, @xuwei152 have you solved this issue?
from codeium.vim.
No, the issue is still there. I have to close neovim when I use a multithreading program like fzf.
from codeium.vim.
same for me, however, for me, it is always exactly two codeium processes running:
neovim 0.9.1 (homebrew)
neovide 0.11.0 (homebrew)
macOS 13.4.1 (M1)
from codeium.vim.
I encountered the same problem. I just installed codeium
today. I am using neovim. What configuration should I do to limit the number of processes?
from codeium.vim.
Related Issues (20)
- Let us configure the chat browser
- AppleSilicon does not pass is_arm check due to error in server.vim HOT 1
- Vim breaks after installing plugin
- I can't add an API key HOT 1
- Feature Request: code refactor HOT 1
- codeium#Chat does not work at the first time we call it HOT 3
- Language Server Not Valid exe on Windows HOT 1
- Does it support manual setting of automatic trigger time?
- custom keymap not being register
- Next suggestion key binding not working
- When open telescope will cause un-terminated curl request to codeium language server
- Calling GetStatusString causes new files to opened in INSERT mode instead of NORMAL HOT 3
- No suggestions when using 1.6.39 HOT 6
- Codeium Server Crashed
- Multiple issues with Codeium in Sublime Text HOT 2
- codeium auth doesn't work over ssh
- auto-completion of codeium doesn't work
- [Bug] Neovim hangs on :wq (possible race condition)
- Codeium Auth error HOT 3
- Invalid token, please try again: HOT 1
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.