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

Cannot autocomplete on assigment #52

Closed
W4RH4WK opened this issue Apr 8, 2014 · 3 comments
Closed

Cannot autocomplete on assigment #52

W4RH4WK opened this issue Apr 8, 2014 · 3 comments

Comments

@W4RH4WK
Copy link

W4RH4WK commented Apr 8, 2014

i really like your vim plugin but i ran into an issue,

package main

import (
    "net"
)

func main() {
    l, err := net.Li // <-- hit CTRL + x CTRL + o
}

autocompletion works fine if the net.Li is on a single line alone, but with l, err := preceding it does not work for me, am i doing something wrong?

@fatih
Copy link
Owner

fatih commented Apr 8, 2014

It works for me: http://quick.as/1dviwz0

I'm using also youcompleteme for completion by type. There shouldn't be a problem. I need to reproduce it to fix it (maybe its a gocode related bug).

@W4RH4WK
Copy link
Author

W4RH4WK commented Apr 8, 2014

okay, did you try a clean install, i installed vim from source (current version). added ycm and even tried it without any other plugin. still not working for me.

completion stops working after =

@fatih
Copy link
Owner

fatih commented Apr 8, 2014

It shouldn't be ycm related. YCM only makes omnicompletion automatically by looking at the context.

Can you please ask you question to gocode repo https://github.com/nsf/gocode ? It's using gocode's binary and I cant' reproduce it. Or you need someone else to reproduce it. I can't do anything here for now.

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

2 participants