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

Omni completion Pattern not found #34

Open
ntcong opened this issue Mar 30, 2014 · 7 comments
Open

Omni completion Pattern not found #34

ntcong opened this issue Mar 30, 2014 · 7 comments

Comments

@ntcong
Copy link

ntcong commented Mar 30, 2014

I recently just install vim-gocode+YouCompleteMe with Vundle. I followed the instruction to install go, gocode but when I try to complete with Ctrl+x/o I get "Omni completion (^O^N^P) Pattern not found"

I ran accross issue#2, tried run :echo ReadLink(@%) but got

E117: Unknown function: ReadLink
E15: Invalid expression: ReadLink(@%)

I'm using Mint 16 with vim from repo

@volgar1x
Copy link
Owner

Are you using Vundle ? Have you updated your bundles ? Have you compiled ycm_core ? Did you add gocode in your $PATH ?

At first sight, it seems that vim-gocode has not been correctly installed since vim did not recognize any ReadLink function. Try a :RelPkg . command to confirm that.

@ntcong
Copy link
Author

ntcong commented Mar 30, 2014

Yes I'm using Vundle and I compiled ycm as the ycm's instruction. YCM work just find with Python.

I had GOPATH, and GOPATH/bin is in PATH.

Running :RelPkg . result in You are not in a go package

@volgar1x
Copy link
Owner

You have to edit a file inside $GOPATH in order to use :RelPkg . but it shouldn't block you from Omnicompletion

@ntcong
Copy link
Author

ntcong commented Mar 30, 2014

Is there anyway for me to check vim-gocode was installed correctly? I had allmost all command here but not the ReadLink one

@volgar1x
Copy link
Owner

ReadLink function has been removed ;)

@ntcong
Copy link
Author

ntcong commented Mar 30, 2014

Oh well then :).

I was using SublimeText with GoSublime before, so I don't think it's go or gocode problem, still I can't auto complete with Omni completion.

Is there anyway to debug ?

@volgar1x
Copy link
Owner

That's nsf/gocode job to provide Omnicompletion. You can start from here.

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