diff --git a/home/.config/nvim/lua/window_management.lua b/home/.config/nvim/lua/window_management.lua index fe68157..5df5400 100644 --- a/home/.config/nvim/lua/window_management.lua +++ b/home/.config/nvim/lua/window_management.lua @@ -119,12 +119,12 @@ local function resize_window(window, dir_char) assert(window, "Invalid window") assert(dir_char == "h" or dir_char == "j" or dir_char == "k" or dir_char == "l", "Invalid direction character") - local function can_resize_window(window) - if not window then + local function can_resize_window(win) + if not win then return true end - if is_floating_window(window) then + if is_floating_window(win) then return true end