mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: register workspace event poller after
This commit is contained in:
parent
2e26df05e2
commit
eda004423e
1 changed files with 2 additions and 3 deletions
|
@ -113,6 +113,8 @@ local function join(workspace)
|
||||||
print(" >< joined workspace " .. ws.name)
|
print(" >< joined workspace " .. ws.name)
|
||||||
register_cursor_callback(ws)
|
register_cursor_callback(ws)
|
||||||
register_cursor_handler(ws)
|
register_cursor_handler(ws)
|
||||||
|
CODEMP.workspace = ws
|
||||||
|
require('codemp.window').update()
|
||||||
utils.poller(
|
utils.poller(
|
||||||
function() return ws:event() end,
|
function() return ws:event() end,
|
||||||
function(event)
|
function(event)
|
||||||
|
@ -137,9 +139,6 @@ local function join(workspace)
|
||||||
require('codemp.window').update()
|
require('codemp.window').update()
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
CODEMP.workspace = ws
|
|
||||||
require('codemp.window').update()
|
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue