Code Monkey home page Code Monkey logo

Comments (8)

iris-garcia avatar iris-garcia commented on August 23, 2024 3

Anyone got this working with doom emacs?

from codeium.el.

alcestide avatar alcestide commented on August 23, 2024

Experiencing the same problem mentioned above.
I'm using DoomEmacs too, so I suspect (?) it could potentially be framework-related.
No completion showed whatsoever, except sometimes when inside Normal Mode, as @hegde-atri already mentioned.
I'd love to use Codeium on Emacs too, as it already works flawlessly on my nvim configuration.

from codeium.el.

strobe avatar strobe commented on August 23, 2024

got similar issue but probably different

found this in codeium-log

https://github.com/Exafunction/codeium/releases/download/language-server-v1.2.52/language_server_linux_arm.gz 6.01 secs status: 200
/nix/store/cs6ps5m9b7sk4bf8wbihwaqm8xyscis3-emacs-28.2/bin/emacs: /home/<username>/.cache/doom/codeium/codeium_language_server: No such file or directory

Process codeium exited abnormally with code 127

then, also tried to launch app manually

> . /home/<username>/.cache/doom/codeium/codeium_language_server
fish: Job 1, '/home/<username>/.cache/doom/codei…' terminated by signal SIGSEGV (Address boundary error)

(Vmware VM on M1 with NixOS 23.05)

from codeium.el.

fortenforge avatar fortenforge commented on August 23, 2024

@strobe we don't support NixOS directly, but you can try something like what's mentioned in this PR: Exafunction/codeium.vim#149

from codeium.el.

patrixr avatar patrixr commented on August 23, 2024

I have found that it doesn't work when I have eglot enabled. When I turn it off it works as expected, trying to get both to work together.

from codeium.el.

spl3g avatar spl3g commented on August 23, 2024

@fortenforge so how do you add anything to the default command?
I have the same issue on NixOS, and steam-run fixes the SIGSEGV error.

from codeium.el.

fortenforge avatar fortenforge commented on August 23, 2024

https://github.com/Exafunction/codeium.el/blob/main/codeium.el#L371

you probably want to modify this line to add "steam-run"

from codeium.el.

spl3g avatar spl3g commented on August 23, 2024

I added "steam-run" at the 4th line and it worked, thanks

(codeium-def codeium-command (api state)
	(unless (codeium-state-manager-directory state)
		(setf (codeium-state-manager-directory state) (make-temp-file "codeium_" t)))
	`("steam-run",(codeium-get-config 'codeium-command-executable api state) ;; here
		 "--api_server_url" ,(codeium-get-config 'codeium-api-url api state)
		 "--manager_dir" ,(codeium-state-manager-directory state)
         "--register_user_url" ,(codeium-get-config 'codeium-register-user-url api state)
         ,@(if (codeium-get-config 'codeium-enterprise api state) '("--enterprise_mode"))
         "--portal_url" ,(codeium-get-config 'codeium-portal-url api state)))

from codeium.el.

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.