-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
Description
With small markdown files I do not have any problems and the browser starts automatically with the preview. However, when I open longer files such as 5000+ words nothing happens.
When I try to open a preview automatically the following error message appears:
error caught in async handler '/home/cutuchiqueno/.vim/plugged/vim-markdown-composer/rplugin/python3/markdown_composer:command:ComposerOpen []':
AttributeError("'NoneType' object has no attribute 'send'",)
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/neovim/plugin/host.py", line 91, in _on_notification
handler(*args)
File "/usr/lib/python3.5/site-packages/neovim/plugin/host.py", line 160, in decoder
return fn(*walk(decode_if_bytes, args, decode))
File "/home/cutuchiqueno/.vim/plugged/vim-markdown-composer/rplugin/python3/markdown_composer/__init__.py", line 58, in composer_open
self.open_browser()
File "/home/cutuchiqueno/.vim/plugged/vim-markdown-composer/rplugin/python3/markdown_composer/__init__.py", line 49, in open_browser
self.client.send(msg)
AttributeError: 'NoneType' object has no attribute 'send'
I am not quiet sure what causes. If it is really the size of the buffer or something else. How should I debug it?