You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsure what's going on for should automatically check file times on resume.
The test passes on my system, but fails in CI? Very strange. I'm on macOS, CI is Ubuntu.
In CI the test is writing the file and changing it, and the autocmd is likely triggering, but :checktime doesn't do anything, not even when invoked manually.
Some ideas and things to try:
stat the file manually and compare the stat before and after changing the file
maybe nvim is hung up on a prompt? although I did check the mode via nvim_get_mode() and it returned normal mode and non-blocking
I checked the buf's filename, it is correct
the buf has the old content after :checktime, it is not getting the new changes
the buf is nomod after :checktime and the changes
see if there's a way to inspect vim's stored timestamp
maybe it's something specific to Linux stat call/struct (e.g. granularity of file size or something?), try larger changes maybe
try running ci on different os than Ubuntu
maybe there's a difference across os's in how file writes occur or affect stat info for pre-existing files?
VimResume
, mainly:checktime
on resumeThe text was updated successfully, but these errors were encountered: