maralla / completor.vim

Async completion framework made ease.
MIT License
1.32k stars 62 forks source link

Error detected while processing function #119

Closed aliev closed 7 years ago

aliev commented 7 years ago

Sometimes the following error occurs. But mostly during file autocomplete

Error detected while processing function <lambda>2[1]..<SNR>150_vim_daemon_handler[4]..completor#trigger[9]..completor#utils#get_completions:
line    1:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/apple/.vim/pack/plugins/start/completor.vim/pythonx/completor/api.py", line 14, in wrapper
    return func(vim.bindeval('a:'))
  File "/Users/apple/.vim/pack/plugins/start/completor.vim/pythonx/completor/api.py", line 28, in get_completions
    return c.get_completions(args['msg']) if c else []
  File "/Users/apple/.vim/pack/plugins/start/completor.vim/pythonx/completor/__init__.py", line 141, in get_completions
    return self.parse(base)
  File "/Users/apple/.vim/pack/plugins/start/completor.vim/pythonx/completers/common/filename.py", line 70, in parse
    match = self.trigger.search(base)
TypeError: expected string or buffer
Pattern not found
Back at original