fix(heirline): fix neovim 0.9 support - Commit e2d96d3a - AstroNvim_user
-
fix(heirline): fix neovim 0.9 support
-
| skipped 49 lines |
50 | 50 | | surround = { separator = "right", color = status.hl.mode_bg }, -- background highlight based on mode |
51 | 51 | | } |
52 | 52 | | |
53 | | - | vim.uv.new_timer():start( -- timer for updating the time |
| 53 | + | local uv = vim.uv or vim.loop |
| 54 | + | uv.new_timer():start( -- timer for updating the time |
54 | 55 | | (60 - tonumber(os.date "%S")) * 1000, -- offset timer based on current seconds past the minute |
55 | 56 | | 60000, -- update every 60 seconds |
56 | 57 | | vim.schedule_wrap(function() vim.api.nvim_exec_autocmds("User", { pattern = "UpdateTime", modeline = false }) end) |
| skipped 26 lines |
Page is in error, reload to recover