Giter VIP home page Giter VIP logo

Comments (9)

PiyushDuggal-source avatar PiyushDuggal-source commented on August 16, 2024

Hey @samarth-nagar, if you are using codeium.vim, just switch back to previous version, it will fix it for now.

	use({
		"Exafunction/codeium.vim",
		commit = "a1c3d6b369a18514d656dac149de807becacbdf7",
	})

This works for me ^^

from codeium.nvim.

samarth-nagar avatar samarth-nagar commented on August 16, 2024

thanks but where do put that commit data?
im using lazy

from codeium.nvim.

PiyushDuggal-source avatar PiyushDuggal-source commented on August 16, 2024

Just add a commit value, it should work I believe:
eg:

{
    "repo/plugin",
    commit = "commit SHA"
    ...
}

ref: https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec

from codeium.nvim.

daUnknownCoder avatar daUnknownCoder commented on August 16, 2024

thanks but where do put that commit data? im using lazy

  {
    "hrsh7th/nvim-cmp",
    dependencies = {
      { "Exafunction/codeium.vim", lazy = true, commit = "a1c3d6b369a18514d656dac149de807becacbdf7" },
      lazy = true,
    },

from codeium.nvim.

daUnknownCoder avatar daUnknownCoder commented on August 16, 2024

i too am facing this issue

from codeium.nvim.

samarth-nagar avatar samarth-nagar commented on August 16, 2024

for anyone whos facing the same issue the fix that @PiyushDuggal-source has given is valid my code looks something like this
but you must use reinstall or reload to see changes i'd recommend deleting and re installing with the commit line

return {
  'Exafunction/codeium.vim',
  commit = "a1c3d6b369a18514d656dac149de807becacbdf7",
  config = function()
    -- Change '<C-g>' here to any keycode you like.
    vim.keymap.set('i', '<C-f>', function() return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
    vim.keymap.set('i', '<c-g>', function() return vim.fn['codeium#CycleCompletions'](1) end,
      { expr = true, silent = true })
    vim.keymap.set('i', '<c-d>', 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
}

but you must go to the /Exafunction/codeium.vim/issues/308 and start an issue there or like the the one issue noticing tht question

from codeium.nvim.

hisamafahri avatar hisamafahri commented on August 16, 2024

+1 facing the same issue

from codeium.nvim.

avtotrainer avatar avtotrainer commented on August 16, 2024

in locale

cd  ~/.vim/pack/Exafunction/start/codeium.vim

git checkout a1c3d6b369a18514d656dac149de807becacbdf7

temporary fix

from codeium.nvim.

fortenforge avatar fortenforge commented on August 16, 2024

Closing this in favor of Exafunction/codeium.vim#308

(Note that this error is specific to codeium.vim)

from codeium.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.