vim-patch:8.2.3510: changes are only detected with one second accuracy

Problem:    Changes are only detected with one second accuracy.
Solution:   Use the nanosecond time if possible.  (Leah Neukirchen,
            closes vim/vim#8873, closes vim/vim#8875)
0a7984af56

In Nvim Test_checktime_fast() is also flaky. Add a delay to avoid that.
This commit is contained in:
zeertzjq
2022-02-13 21:33:28 +08:00
parent 6f5fae08a3
commit 03348e5b9d
5 changed files with 58 additions and 12 deletions

View File

@@ -4539,6 +4539,7 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr)
"mouse",
"multi_byte",
"multi_lang",
"nanotime",
"num64",
"packages",
"path_extra",