diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-02-13 21:58:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 21:58:36 +0800 |
commit | 5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e (patch) | |
tree | cdecd745052beb1c7fec6840ba52cd51875b1187 /src/nvim/buffer_defs.h | |
parent | e4819017480c801c07619bfe740cc934e2f4c85b (diff) | |
parent | b2606673cc367c018527203fbc7c3e85cc9a4e8e (diff) | |
download | rneovim-5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e.tar.gz rneovim-5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e.tar.bz2 rneovim-5d6bef0f6e5e6fc2daa12a0d7e1f5d63df59926e.zip |
Merge pull request #17374 from zeertzjq/vim-8.2.3510
vim-patch:8.2.{3510,3512,3514,3515,3534}: nanosecond timestamp change detection
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 7b17c5b506..7ae5df164f 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -587,7 +587,9 @@ struct file_buffer { // where invoked long b_mtime; // last change time of original file + long b_mtime_ns; // nanoseconds of last change time long b_mtime_read; // last change time when reading + long b_mtime_read_ns; // nanoseconds of last read time uint64_t b_orig_size; // size of original file in bytes int b_orig_mode; // mode of original file time_t b_last_used; // time when the buffer was last used; used |