Exafunction / codeium.el

Free, ultrafast Copilot alternative for Emacs
https://www.codeium.com
MIT License
412 stars 13 forks source link

Generated Go funcs contain no body. #32

Open stephenwithav opened 1 year ago

stephenwithav commented 1 year ago

Attempting to generate a factorial func:

// Factorial returns an int that equals n!.
func Fact

...returns:

func factorial(n int) int {

}
fortenforge commented 1 year ago

Interesting. I can't reproduce this in vscode. Can you tell me what mode you are using? Is it go-mode?

stephenwithav commented 1 year ago

go-mode with lsp-mode disabled (via lsp-disconnect).

The Factorial example works in a new, clean repo, but not in an existing repo or in go-playground.