Closed BooleanCat closed 6 years ago
Dark powered Vim/Neovim plugin manager :
sed -i.bu 's/async=True/**{"async": True}/' ~/.cache/dein/.cache/init.vim/.dein/pythonx/cm_core.py;
sed -i.bu 's/async=True/**{"async": True}/' ~/.cache/dein/.cache/.vimrc/.dein/pythonx/cm_core.py;
sed -i.bu 's/async=True/**{"async": True}/' ~/.cache/dein/repos/github.com/roxma/nvim-completion-manager/pythonx/cm_core.py;
sed -i.bu 's/async=True/**{"async": True}/' ~/.cache/dein/.cache/init.vim/.dein/pythonx/cm.py;
sed -i.bu 's/async=True/**{"async": True}/' ~/.cache/dein/.cache/.vimrc/.dein/pythonx/cm.py;
sed -i.bu 's/async=True/**{"async": True}/' ~/.cache/dein/repos/github.com/roxma/nvim-completion-manager/pythonx/cm.py;
I've worked around this for the time being by fixing the syntax errors:
sed -i.bu 's/async=True/**{"async": True}/' ~/.vim/plugged/nvim-completion-manager/pythonx/cm.py sed -i.bu 's/async=True/**{"async": True}/' ~/.vim/plugged/nvim-completion-manager/pythonx/cm_core.py
You could also drop your python version to 3.6
For neovim users: those sed
lines are:
sed -i.bu 's/async=True/**{"async": True}/' ~/.config/nvim/plugged/nvim-completion-manager/pythonx/cm.py
sed -i.bu 's/async=True/**{"async": True}/' ~/.config/nvim/plugged/nvim-completion-manager/pythonx/cm_core.py
He solucionado esto por el momento solucionando los errores de sintaxis:
sed -i.bu 's/async=True/**{"async": True}/' ~/.vim/plugged/nvim-completion-manager/pythonx/cm.py sed -i.bu 's/async=True/**{"async": True}/' ~/.vim/plugged/nvim-completion-manager/pythonx/cm_core.py
También puedes bajar tu versión de Python a 3.6
Para usuarios de neovim: esas
sed
líneas son:sed -i.bu 's/async=True/**{"async": True}/' ~/.config/nvim/plugged/nvim-completion-manager/pythonx/cm.py sed -i.bu 's/async=True/**{"async": True}/' ~/.config/nvim/plugged/nvim-completion-manager/pythonx/cm_core.py
Works in Ubuntu 20.04 !!! Thanks
Works! Thanks you!
This issue has been talked about on Pivotal's internal slack, writing it up here for visibility for all.
What happened
I open vim and I see:
Why
You upgraded Python 3.7. Since Python 3.7,
async
is a keyword. This means that nvim-completion-manager now has syntax errors.Resolution
?
luan is working on something
Workaround
I've worked around this for the time being by fixing the syntax errors:
You could also drop your python version to 3.6