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

The little popup window when typing a ( does not show up in neovim #811

Closed
BrandonShega opened this issue Apr 26, 2018 · 9 comments
Closed

Comments

@BrandonShega
Copy link

The little popup window when typing a ( does not show up in neovim

Output of “:verbose JediDebugInfo”

Jedi-vim debug information

Using Python version: 3

  • sys.version: 3.6.4 (default, Mar 1 2018, 18:36:42), [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
  • site module: /usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py
    Jedi path: /Users/bshega/.vim/bundle/jedi-vim/pythonx/jedi/jedi/__init__.py
  • version: 0.12.0
  • sys_path:
    Error detected while processing function jedi#debug_info[28]..provider#python3#Call:
    line 18:
    Traceback (most recent call last):

File "/Users/bshega/.vim/bundle/jedi-vim/pythonx/jedi_vim_debug.py", line 37, in display_debug_info
sys_path = script_evaluator.project.sys_path

AttributeError: 'Project' object has no attribute 'sys_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/Users/bshega/.vim/bundle/jedi-vim/pythonx/jedi_vim_debug.py", line 39, in display_debug_info
sys_path = script_evaluator.sys_path

AttributeError: 'Evaluator' object has no attribute 'sys_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "", line 1, in

File "/Users/bshega/.vim/bundle/jedi-vim/pythonx/jedi_vim_debug.py", line 44, in display_debug_info
"{0!r})".format(e))

File "/Users/bshega/.vim/bundle/jedi-vim/pythonx/jedi_vim_debug.py", line 8, in echo
vim.command('echo {0}'.format(msg))

File "/usr/local/lib/python3.6/site-packages/neovim/api/nvim.py", line 242, in command
return self.request('nvim_command', string, **kwargs)

File "/usr/local/lib/python3.6/site-packages/neovim/api/nvim.py", line 140, in request
res = self._session.request(name, *args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/neovim/msgpack_rpc/session.py", line 98, in request
raise self.error_wrapper(err)

neovim.api.nvim.NvimError: b'Vim(echo):E117: Unknown function: AttributeError'
syntax-error: unexpected EOF while parsing (, line 7)-- INSERT ---- INSERT --
No matching autocommands-- INSERT ---- INSERT ---- INSERT --
No matching autocommands

syntax-error: unexpected EOF while parsing (, line 7)

@davidhalter
Copy link
Owner

I'm pretty sure that JediDebugInfo will be better once #806 is going to be merged. So let's wait for that.

@blueyed
Copy link
Collaborator

blueyed commented Apr 26, 2018

Reminded me of neovim/neovim#3757 - i.e. a bug in Neovim, where CursorHoldI might get/be broken.

@blueyed
Copy link
Collaborator

blueyed commented Apr 26, 2018

@BrandonShega
Are you using deoplete also?

@BrandonShega
Copy link
Author

@blueyed I am using deoplete, yes.

@BrandonShega
Copy link
Author

Also, fwiw, I wasn't getting the window to popup at all in nvim unless I hit Ctrl+Space even with Supertab installed. I had to add

" Supertab
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"

to get it to work.

@blueyed
Copy link
Collaborator

blueyed commented Jul 28, 2018

Yes, it is a Neovim issue.
But #652 fixes it for me.
This PR is rebased on master, so you could easily try it and report feedback there.

@blueyed
Copy link
Collaborator

blueyed commented Jul 28, 2018

@BrandonShega
Normally <c-x><c-o> should work by itself (even in Neovim) - not sure when you expect it to happen though.
#652 is the way forward IMHO anyway.

@blueyed
Copy link
Collaborator

blueyed commented Dec 26, 2018

@BrandonShega
Have you tried #652 (I've just rebased it).

@davidhalter
Copy link
Owner

Same issue as #493. We are trying to get rid of changing the buffer for this feature and are trying to use floating windows.

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

3 participants