For some reason, sometimes, the auto formatter is deleting entire functions in my python files!
I save inside vim with :w, and then it auto formats with black, but then sometime a function or class might just be deleted.
It doesn't happen all the time though, just randomly, and I'm unable to reproduce this.
But this is making it very dangerous for me to even use the auto formatter even though it's very helpful.
For some reason, sometimes, the auto formatter is deleting entire functions in my python files!
I save inside vim with
:w
, and then it auto formats with black, but then sometime a function or class might just be deleted.It doesn't happen all the time though, just randomly, and I'm unable to reproduce this. But this is making it very dangerous for me to even use the auto formatter even though it's very helpful.
Here is my
.vim/coc-settings.json
fileAny suggestions on what to do here?