You need to sign in or sign up before continuing.
Threading error when saving with neovim
Disclaimer: I've been using neovim with this plugin for nearly a year without any issues until the latest ctrl+p issue (#15 (closed))
For every save I get the following error. I am using the latest pynvim and this error does not happen when using regular vim.
Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...)
File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/Users/coryshaw/.vim/plugged/code-stats-vim/plugin/codestats.py", line 134, in main_thread
self.send_xp()
File "/Users/coryshaw/.vim/plugged/code-stats-vim/plugin/codestats.py", line 76, in send_xp
url = vim.eval("g:codestats_api_url")
File "/usr/local/lib/python3.7/site-packages/pynvim/plugin/script_host.py", line 207, in eval
obj = self.request("vim_eval", expr)