You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using vim-ctrlspace and I have an open buffer of a .vim file. When I want to list the tabs using vim-ctrlspace, I see the following error:
error caught in async handler '/home/farzad/.vim/plugged/vim-ultest/rplugin/python3/ultest:function:_ultest_update_positions [['init.vim']]'
Traceback (most recent call last):
File "/home/farzad/.vim/plugged/vim-ultest/rplugin/python3/ultest/__init__.py", line 98, in _update_positions
self.handler.update_positions(*args)
File "/home/farzad/.vim/plugged/vim-ultest/rplugin/python3/ultest/handler/__init__.py", line 152, in update_positions
vim_patterns = self._vim.sync_call("ultest#adapter#get_patterns", file_name)
File "/home/farzad/.vim/plugged/vim-ultest/rplugin/python3/ultest/vim_client/__init__.py", line 128, in sync_call
return self._eval(expr, sync=True)
File "/home/farzad/.vim/plugged/vim-ultest/rplugin/python3/ultest/vim_client/__init__.py", line 141, in _eval
return self._vim.eval(expr, async_=not sync)
File "/usr/lib/python3.9/site-packages/pynvim/api/nvim.py", line 295, in eval
return self.request('nvim_eval', string, **kwargs)
File "/usr/lib/python3.9/site-packages/pynvim/api/nvim.py", line 182, in request
res = self._session.request(name, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim(return):E484: Can't open file init.vim
This is the log file:
22:53:12 | INFO | MainThread | logging.py:create_logger:71 | Logger created
22:53:12 | DEBUG | MainThread | __init__.py:__init__:40 | Handler created
22:53:14 | DEBUG | MainThread | __init__.py:update_positions:154 | No patterns found for init.vim
To Reproduce
Open a .vim file
Press ctrl + space to display vim-ctrlspace menu
Press l to list tabs in vim-ctrlspace
See the error
Expected behavior
There shouldn't be any errors!
The text was updated successfully, but these errors were encountered:
I've put in a quick catch all for this error which should work fine, but I'm curious as to why you get the error. I'm not familiar with vim-ctrlspace but it must be doing something with the buffer itself because the plugin will check that the file exists first... Also the error is actually being thrown in vim-test, just being caught in vim-ultest.
Describe the bug
I'm using
vim-ctrlspace
and I have an open buffer of a.vim
file. When I want to list the tabs usingvim-ctrlspace
, I see the following error:This is the log file:
To Reproduce
.vim
filevim-ctrlspace
menuvim-ctrlspace
Expected behavior
There shouldn't be any errors!
The text was updated successfully, but these errors were encountered: