aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorTill Bungert <tillbungert@gmail.com>2026-04-28 01:01:47 +0200
committerGitHub <noreply@github.com>2026-04-27 19:01:47 -0400
commita0820481f287958edd5157d7af0662c24ee96fc0 (patch)
tree21c5cf6bc89d67ccf3d1db1619e630660a7b8e7f /runtime/lua/vim/provider/python.lua
parent46c83ce321b2612e20f5df3f568c1c0884a6d50f (diff)
downloadrneovim-a0820481f287958edd5157d7af0662c24ee96fc0.tar.gz
rneovim-a0820481f287958edd5157d7af0662c24ee96fc0.tar.bz2
rneovim-a0820481f287958edd5157d7af0662c24ee96fc0.zip
fix(excmd): use realtime for v:starttime, :uptime #39425
Problem: `v:starttime`, `:uptime` use a monotonic high-resolution timer. This only works as long as the timer keeps running (if the computer is suspended the timer is paused). This is somewhat unintuitive, and doesn't match the behavior of the `uptime` shell command. Solution: Implement `os_realtime` to get the real time since the epoch in nanoseconds.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions