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

I get an unexpected error when I enter a keyword that is completed #92

Open
bellsmarket opened this issue Jun 15, 2021 · 1 comment
Open

Comments

@bellsmarket
Copy link

"Shougo / deoplete.nvim" is working fine.
but I get an unexpected error when I enter a keyword that is completed

How can I avoid the error?

Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...) 
  File "/opt/homebrew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, i
n _bootstrap_inner
    self.run()
  File "/opt/homebrew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 892, i
n run
    self._target(*self._args, **self._kwargs)
  File "/Users/foobar/dotfiles/dein/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py",
 line 336, in completation
    self.vim.command('call deoplete#auto_complete()')
  File "/Users/foobar/Library/Python/3.9/lib/python/site-packages/pynvim/api/nvim.py", line 287, in command
    return self.request('nvim_command', string, **kwargs)

Best regards.

@carlitux
Copy link
Owner

@bellsmarket please check this #88

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

2 participants