Don't open bracket.
Closed this issue · 12 comments
Hello, don't is it deoplete issue or echodoc, so I just leave a link on gif.
Gif : https://imgur.com/a/SsNSW
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
Plug 'zchee/deoplete-jedi'
Plug 'Shougo/echodoc.vim'
let g:deoplete#enable_at_startup = 1
let g:deoplete#auto_complete_delay = 500
let g:deoplete#sources#jedi#show_call_signatures = 1
let g:echodoc#enable_at_startup = 1
let g:deoplete#sources#jedi#show_docstring = 1
set cmdheight=2
As you can see on gif, It don't open the bracket '(' when I choose variant and tap enter, so and docstring works only 1 of 4 times.
Thank you.
I will test the problem.
Please upload the example script.
And the reproduce ways from Vim starting is needed.
And, you have uploaded the screenshot without the minimal vimrc.
Because, you have not include the statusline plugin in the minimal vimrc.
Please upload the screenshot using the minimal vimrc.
Note: I will close the issue if you don't upload the reproduce ways
I cannot reproduce the problem.
@Shougo Sorry, don't really understand what you want. My english is not so good.
I show how reproduce in the gif.
Thank you.
@karambaq I have tested it, but I cannot reproduced.
So please upload the Python script and the reproduce ways by text.
For example:
Shougo/deoplete.nvim#585
If not, unfortunately I will close the issue.
I have not much time to not reproduceable problem.
It works for me.
Related problem?
#33
@Shougo Oh, I think I got you.
So, here is screenshot (some error on the bottom).
My init.vim
call plug#begin('~/.local/share/nvim/plugged')
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
Plug 'zchee/deoplete-jedi'
Plug 'Shougo/echodoc.vim'
call plug#end()
let g:deoplete#enable_at_startup = 1
let g:echodoc#enable_at_sartup = 1
set cmdheight=2
And python script
import requests
a = requests.
So I see some docstring on the top, but it's not a echodoc I think, because I tried to remove echodoc plug and It still working.
It is just preview window feature.
Please disable the preview window.
So I see some docstring on the top, but it's not a echodoc I think, because I tried to remove echodoc plug and It still working.
set completeopt-=preview
I disable it:
Gif: https://imgur.com/a/Me6Zz
OK. One question:
Why don't you use the minimal vimrc?
In the above gif, it installs statusline plugin(airline?).
It is not included in minimal vimrc.
I will close the issue sorry.
OK. I get the reason.
let g:echodoc#enable_at_sartup = 1
It is the wrong name.
It must be let g:echodoc#enable_at_startup = 1
.
So echodoc is disabled in your vimrc.
Please check echodoc is working.
You can enable echodoc by EchoDocEnable
.
@Shougo Because this plugins installed via aur.
Yeah, you right, typo, I change it, seems works now.
OK.