aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/screen.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-09-14 07:42:22 +0800
committerGitHub <noreply@github.com>2023-09-14 07:42:22 +0800
commitf5953edbac14febce9d4f8a3c35bdec1eae26fbe (patch)
tree72bc0cbe71e5b61324bd010147c8c6c402c5c0de /test/functional/ui/screen.lua
parent77df96f3fb9475a58330d4ad8830217e5de806c8 (diff)
downloadrneovim-f5953edbac14febce9d4f8a3c35bdec1eae26fbe.tar.gz
rneovim-f5953edbac14febce9d4f8a3c35bdec1eae26fbe.tar.bz2
rneovim-f5953edbac14febce9d4f8a3c35bdec1eae26fbe.zip
fix(float): update position of anchored windows first (#25133)
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r--test/functional/ui/screen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index 2307fd106b..be7c2f291c 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -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