When I modified the script file today, I turned off Xshell, which caused me to report the following exception every time I compiled it.
Solution:
1) Use the command to restore abnormal files, vim -r abnormal files, and then delete the .swap file. When editing the file again, no warning will be prompted.
2. Use the ls -al command to query the hidden .swap file and delete it. When downloading and editing the file, no warning will be prompted.