Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'viewport' #108

Open
wookayin opened this issue Aug 3, 2021 · 1 comment
Open

AttributeError: 'NoneType' object has no attribute 'viewport' #108

wookayin opened this issue Aug 3, 2021 · 1 comment

Comments

@wookayin
Copy link
Contributor

wookayin commented Aug 3, 2021

Neovim version: NVIM v0.6.0-dev+1556-gc642f3ac2, but it happens in v0.5.0 release as well

error caught in async handler '.../vim/plugged/semshi/rplugin/python3/semshi:function:SemshiVimResized [[71, 102]]'
Traceback (most recent call last):
  File ".../vim/plugged/semshi/rplugin/python3/semshi/plugin.py", line 91, in event_vim_resized
    self._update_viewport(*args)
  File ".../vim/plugged/semshi/rplugin/python3/semshi/plugin.py", line 231, in _update_viewport
    self._cur_handler.viewport(start, stop)
AttributeError: 'NoneType' object has no attribute 'viewport'

Often semshi throws an error when vim gets resized. It might be a conflict with other plugins installed, but it sometimes happens. No idea why self._cur_handler is not ever set.

@wookayin
Copy link
Contributor Author

This can be fixed like wookayin@11cf4e7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant