2

I have a problem with my deoplete plugin. When I write code, I don't have automatic completion on dot. I need to manually press <c-x><c-o> to make it work.

Here is my deoplete configuration:

let g:deoplete#enable_at_startup = 1
let g:deoplete#delimiters = ['/','.']
let g:deoplete#sources#go = 'vim-go'
let g:deoplete#keyword_patterns = {}
let g:deoplete#keyword_patterns._ = '[a-zA-Z_]\k*\(?'

Here an exemple on "automatic" completion: enter image description here

Then, when I press <c-x><c-o> :

enter image description here

I really don't know how to get the second case.

p.s: I read so many tutorials on the web and I have already searching on the stackexchange without finding.

6
  • 2
    Run :CheckHealth to find problems. You also need deoplete-go.
    – Tommy A
    Commented Jan 14, 2017 at 14:39
  • You answer solve my problem. How can i up vote your remark?
    – hallow_me
    Commented Jan 14, 2017 at 16:54
  • No need. If you want to, show support for Neovim, deoplete, and deoplete-go by starring their repos on GitHub :]
    – Tommy A
    Commented Jan 18, 2017 at 16:57
  • 1
    @TommyA, I think a better place to put answers is in, wait, let me think, ..., an answer! Have moved your comment to an answer box, and made it CW so I can't be accused of rep-whoring :-)
    – user579
    Commented Sep 14, 2018 at 1:59
  • 1
    @paxdiablo Works for me
    – Tommy A
    Commented Sep 15, 2018 at 2:07

1 Answer 1

1

You can run :checkhealth (:CheckHealth in older versions) to find any problems.

You also need deoplete-go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.