mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-21 23:14:54 +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
|
||||
once = false
|
||||
end
|
||||
local oldbuf = buffers.users[CODEMP.client.username]
|
||||
buffers.users[CODEMP.client.username] = bufname
|
||||
if oldbuf ~= bufname then
|
||||
require('codemp.window').update()
|
||||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue