hrsh7th / nvim-compe

Auto completion Lua plugin for nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation doesn't pop in completion in some cases

sigzegv opened this issue · comments

Checkhealth

health#compe#check
========================================================================
## compe:snippet
  - INFO: snippet engine is not detected.

## compe:mapping
  - INFO: `compe#complete` is not mapped
  - INFO: `compe#confirm` is not mapped
  - INFO: `compe#close` is not mapped
  - INFO: `compe#scroll` is not mapped

Describe the bug

I'm using gopls server with nvim-lspconfig.
On some symbols (always the same), the documentation doesn't pop on completion. If I start to type some chars, the documentation displays for some cases only (but not all).
Why I report this issue is because this seems to not be the case with coc and completion-nvim

compe-bug

To Reproduce

I use this minimal config

call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-compe'
Plug 'neovim/nvim-lspconfig'
call plug#end()

let g:compe = {}
let g:compe.enabled = v:true
let g:compe.documentation = v:true
let g:compe.autocomplete = v:true
let g:compe.debug = v:true
let g:compe.min_length = 1
let g:compe.preselect = 'enable'
let g:compe.throttle_time = 80
let g:compe.source_timeout = 200
let g:compe.resolve_timeout = 800
let g:compe.incomplete_delay = 400
let g:compe.max_abbr_width = 100
let g:compe.max_kind_width = 100
let g:compe.max_menu_width = 100

let g:compe.source = {}
let g:compe.source.nvim_lsp = v:true

lua << EOF
require'lspconfig'.gopls.setup{}
EOF

Actual behavior

the documentation doesn't always pop

Expected behavior

the documentation should always pop

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.