tweekmonster / impsort.vim

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

Invalid channel ID #35

Closed CalSch closed 1 year ago

CalSch commented 2 years ago

Whenever I do something in my file like save or undo, I get this error:

Error detected while processing function impsort#highlight_imported[17]..<SNR>95
_do_async_job:
line   17:
E900: Invalid channel id

Here are my imports:

import time,math
tweekmonster commented 1 year ago

This is most likely the subprocess exiting prematurely, which can be for various reasons, but the most likely reason is that python is the wrong version. There won't be further updates to this plugin, but if you still happen to have this problem, you'd reveal more about the problem by running the script directly:

python bin/import.py some_script.py </dev/null