Skip to content

Commit

Permalink
fix: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Sep 9, 2022
1 parent b1985da commit 1c350a6
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lua/resession/layout.lua
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
local util = require("resession.util")
local M = {}

local function list_compact(list)
local last_slot = 1
for _, v in ipairs(list) do
if v then
list[last_slot] = v
last_slot = last_slot + 1
end
end
while #list >= last_slot do
table.remove(list)
end
end

---@param tabnr integer
---@param winid integer
---@return table|false
Expand Down

0 comments on commit 1c350a6

Please sign in to comment.