We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Encountered SyntaxError loading plugin at /Users/yuhui/.local/share/nvim/plugged/semshi/rplugin/python3/semshi: invalid syntax (handler.py, line 234)
SyntaxError
/Users/yuhui/.local/share/nvim/plugged/semshi/rplugin/python3/semshi: invalid syntax (handler.py, line 234)
Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/neovim/plugin/host.py", line 130, in _load module = imp.load_module(name, file, pathname, descr) File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 245, in load_module return load_package(name, filename) File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/imp.py", line 217, in load_package return _load(spec) File "<frozen importlib._bootstrap>", line 696, in _load File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "/Users/yuhui/.local/share/nvim/plugged/semshi/rplugin/python3/semshi/handler.py", line 234 (id, line, name, self._buf_num), async=True)
The text was updated successfully, but these errors were encountered:
Thanks for reporting!
My first guess is that this is due to a backwards-incompatible syntax change in Python 3.7:
async and await are now reserved keywords.
async
await
Since the neovim API is using async as parameter name, this violates the 3.7 syntax. I'll let you know when I got that fixed.
Sorry, something went wrong.
@yuhuihu Semshi should work fine on 3.7 now. Does this resolve the problem for you?
No branches or pull requests
Encountered
SyntaxError
loading plugin at/Users/yuhui/.local/share/nvim/plugged/semshi/rplugin/python3/semshi: invalid syntax (handler.py, line 234)
The text was updated successfully, but these errors were encountered: