-
Notifications
You must be signed in to change notification settings - Fork 659
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
Panics with deoplete-go on Windows #424
Comments
@xelra Hi, I'm deoplete-go author, also gocode contributor. Thanks. |
Seems like plugin passes cursor position outside of boundaries of the currently edited file. A source code example would be nice indeed. I also added some code for debug mode which does the boundaries check for cursor. It would yield a more useful error message. However it won't include the source code still though. |
@nsf Yeah, maybe I think my plugin was get the wrong buffer or cursor position. |
As requested, I've created a cross-issue on zchee/deoplete-go. The source code is a simple "hello world" file: package main
import "fmt"
func main() {
fmt.Printf("hello, world\n")
} |
@xelra Are you still have this issue? If so, As @nsf said,
I think too, because if you tested with posted "hello world" file, that end of byte offset is .
.
2017/02/18 01:26:13 Cursor at: 83
.
. I think this issue is not gocode side, maybe Neovim's API(or wrong get offset by the deoplete-go). I'll create Windows10 VM on VMWare and try to test it. |
Yes, I'm still having this issue. I just set it up on another Windows 10 Professional machine and it's exactly the same. Latest version of everything: Neovim, Neovim-Qt, gocode, deoplete.nvim and deoplete-go. |
@xelra I see. OK, Let's close this issue and move the discussion place there: |
I get the reason. |
I'm trying to use deoplete-go in Windows in Neovim, which builds on top of gocode.
Unfortunately I get
[deoplete] gocode panicked
errors. I'm still seeing completions though.Here is the output of
gocode -s -debug
for one such error:This is my
go env
:The text was updated successfully, but these errors were encountered: