Closed aarondill closed 1 year ago
I'm not familiar with checktime
so I'm not sure but is calling checktime
AFTER sudo#write()
make sense? I thought it should be called BEFORE to prevent unwilling overwrite.
checktime
checks if the file has changed outside vim (we just changed it with dd), and if it has, it asks the user what to do about it (ie, load the new file, or ignore)
Got it. Thanks 👍
This was first suggested in #43 and was forgotten after. This simply adds the call to the end of suda#Write().