fix(float): update position of anchored windows first (#25133)

This commit is contained in:
zeertzjq
2023-09-14 07:42:22 +08:00
committed by GitHub
parent 77df96f3fb
commit f5953edbac
3 changed files with 200 additions and 4 deletions

View File

@@ -1270,7 +1270,7 @@ end
function Screen:render(headers, attr_state, preview)
headers = headers and (self._options.ext_multigrid or self._options._debug_float)
local rv = {}
for igrid,grid in pairs(self._grids) do
for igrid,grid in vim.spairs(self._grids) do
if headers then
local suffix = ""
if igrid > 1 and self.win_position[igrid] == nil