mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: update window when moving across bufs
This commit is contained in:
parent
bdb991033a
commit
3e2ceb99de
1 changed files with 4 additions and 0 deletions
|
@ -71,7 +71,11 @@ local function register_cursor_callback(controller, name)
|
||||||
end
|
end
|
||||||
once = false
|
once = false
|
||||||
end
|
end
|
||||||
|
local oldbuf = buffers.users[CODEMP.client.username]
|
||||||
buffers.users[CODEMP.client.username] = bufname
|
buffers.users[CODEMP.client.username] = bufname
|
||||||
|
if oldbuf ~= bufname then
|
||||||
|
require('codemp.window').update()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue