mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 05:44: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)
|
||||
register_cursor_callback(ws)
|
||||
register_cursor_handler(ws)
|
||||
CODEMP.workspace = ws
|
||||
require('codemp.window').update()
|
||||
utils.poller(
|
||||
function() return ws:event() end,
|
||||
function(event)
|
||||
|
@ -137,9 +139,6 @@ local function join(workspace)
|
|||
require('codemp.window').update()
|
||||
end
|
||||
)
|
||||
|
||||
CODEMP.workspace = ws
|
||||
require('codemp.window').update()
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue