Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error plenary.nvim #212

Open
alisanoelia opened this issue Jul 30, 2024 · 5 comments
Open

Error plenary.nvim #212

alisanoelia opened this issue Jul 30, 2024 · 5 comments

Comments

@alisanoelia
Copy link

Error executing luv callback:
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:300: get https://github.com/Exafunction/codeium/rel
eases/download/language-server-v1.8.80/language_server_linux_x64.gz - curl error exit_code=23 stderr={ "curl: (
23) Failed writing received data to disk/application" }
stack traceback:
[C]: in function 'error'
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:300: in function '_user_on_exit'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:241: in function '_shutdown'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:48: in function <.../.local/share/nvim/lazy
/plenary.nvim/lua/plenary/job.lua:39>
[C]: in function 'nvim_exec2'
vim/_editor.lua:431: in function 'cmd'

Version: NVIM v 0.10.1
OS: Void Linux

@abu-sufyan1
Copy link

abu-sufyan1 commented Aug 11, 2024

I am also facing the very same issue. Any solution?

Screenshot from 2024-08-11 17-13-37

@alisanoelia
Copy link
Author

alisanoelia commented Aug 15, 2024

Use codeium.vim

with Lazy.nvim:

return {
	'Exafunction/codeium.vim',
	config = function()
		-- Change '<C-g>' here to any keycode you like.
		vim.keymap.set('i', '<C-k>', function() return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
		vim.keymap.set('i', '<c-;>', function() return vim.fn['codeium#CycleCompletions'](1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-,>', function() return vim.fn['codeium#CycleCompletions'](-1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true, silent = true })
	end
}

@vanpapoet
Copy link

Screenshot 2024-10-12 at 15 44 41
This issue is on macOS, any solution to fix it?

@alisanoelia
Copy link
Author

@vanpapoet I'm fix used

Use codeium.vim

with Lazy.nvim:

return {
	'Exafunction/codeium.vim',
	config = function()
		-- Change '<C-g>' here to any keycode you like.
		vim.keymap.set('i', '<C-k>', function() return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
		vim.keymap.set('i', '<c-;>', function() return vim.fn['codeium#CycleCompletions'](1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-,>', function() return vim.fn['codeium#CycleCompletions'](-1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true, silent = true })
	end
}

@vanpapoet
Copy link

@vanpapoet I'm fix used

Use codeium.vim
with Lazy.nvim:

return {
	'Exafunction/codeium.vim',
	config = function()
		-- Change '<C-g>' here to any keycode you like.
		vim.keymap.set('i', '<C-k>', function() return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
		vim.keymap.set('i', '<c-;>', function() return vim.fn['codeium#CycleCompletions'](1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-,>', function() return vim.fn['codeium#CycleCompletions'](-1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true, silent = true })
	end
}

that doesn't work for me 🫤

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants