I am using Vim 9.1
After installing Vim, swap files are created normally.
But if I create a $MYVIMRC file, Vim stops creating swap files.
If I put the line ‘set swapfile’ in the $MYVIMRC file, Vim still won’t create swap files.
If I open a file and enter the command ‘:set swapfile’, edit the file and close it, Vim still won’t create swap files.
If I remove the $MYVIMRC file, vim creates swap files normally.
I was expecting Vim to keep creating swap files, even after I create the $MYVIMRC file.