mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 05:44:52 +01:00
fix: run callbacks on main thread
This commit is contained in:
parent
9dea608f04
commit
c4c3d0ced9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ if CODEMP.timer == nil then
|
|||
while true do
|
||||
local cb = CODEMP.native.poll_callback()
|
||||
if cb == nil then break end
|
||||
cb()
|
||||
vim.schedule(function() cb() end)
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue