Syntax highlighting randomly disappears during file saving
问题 I'm using vim to edit some python files and recently it occurs sporadically that the syntax highlighting disappears after I save the buffer inside vim. I tried to reset syntax on and set filetype=python but to no avail. I have no clue of what causes this problem at all, so right now I have minimal diagnostic info. But has anyone encountered this before, or where could things break down? 回答1: This is not a solution, but it's hard to write/read in the comments. I meant that I was messing around