1

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.

  • 2
    Run :CheckHealth to find problems. You also need deoplete-go. – Tommy A Jan 14 '17 at 14:39
  • You answer solve my problem. How can i up vote your remark? – hallow_me Jan 14 '17 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 Jan 18 '17 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 Sep 14 '18 at 1:59
  • 1
    @paxdiablo Works for me – Tommy A Sep 15 '18 at 2:07
0

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, privacy policy and cookie policy

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