Skip to content

Commit

Permalink
fix(utils): fix utils.is_list (#728)
Browse files Browse the repository at this point in the history
Co-authored-by: Akin Sowemimo <22454918+akinsho@users.noreply.github.com>
  • Loading branch information
bradsherman and akinsho committed Apr 15, 2023
1 parent 4df8c8a commit 2c8d615
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/bufferline/utils/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ end

-- TODO: deprecate this in nvim-0.11 or use strict lists
--- Determine which list-check function to use
---@return function
function M.is_list() return vim.tbl_isarray or vim.tbl_islist end
M.is_list = vim.tbl_isarray or vim.tbl_islist

return M

0 comments on commit 2c8d615

Please sign in to comment.