Apparent race condition with autocmd and CLI arguments
SkyLeach opened this issue · 1 comments
SkyLeach commented
It seems when a file is passed to neovim as a CLI argument and all of these conditions are true there may be a problem with rplugins: 1.) the file is python, 2.) the file has breakpoints registered with pudb.
example: nvim ./test/test_templates.py
results :messages
"test/test_templates.py" 136L, 3937C Error detected while processing function remote#define#request:
line 2:
no request handler registered for "/Users/magregor/src/pudb.vim/rplugin/python3/vim_pudb.py:autocmd:BufReadPost:*.py"
This error doesn't prevent the plugin from working after the first load.
numirias commented
I'm right now tackling a similar obscure race condition in a different plugin (numirias/semshi#11). We have a ticket at neovim/pynvim#341. If you think this may have the same root cause and you got some additional information, feel free to chime in over there.