From c693e80f8d7b6369f4152e7fdab10db4847c5c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Sat, 27 May 2023 13:00:02 +0100 Subject: [PATCH] fix(windows): remove element.render Buffers can be assumed to have already rendered when opening in a window. See #265 --- lua/dapui/windows/init.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/dapui/windows/init.lua b/lua/dapui/windows/init.lua index 0139a5d..47e17eb 100644 --- a/lua/dapui/windows/init.lua +++ b/lua/dapui/windows/init.lua @@ -169,7 +169,6 @@ function M.open_float(name, element, position, settings) resize() end, }) - element.render() -- In case render doesn't trigger on_lines resize()