tweekmonster / impsort.vim

Sort and highlight Python imports in Vim
MIT License
37 stars 6 forks source link

Does not work with python 3.9 #33

Closed efharkin closed 2 years ago

efharkin commented 3 years ago

Description of the error

Got the error message "impsort" python version None is not currently supported in my neovim status line while setting up a new machine today. Google led me to https://github.com/tweekmonster/impsort.vim/issues/30, which suggested the problem might be due to a missing grammar3x.txt file in parso for the corresponding Python 3.x version. After copying grammar38.txt to grammar39.txt the problem went away. Maybe the parso dependency needs updating?

System information

OS: Manjaro 21.0.4 Python: 3.9.4 impsort.vim: ec4b33e67e44c16954a99c0e5fa37df6091c54f2

tweekmonster commented 2 years ago

This should be resolved in #34