Skip to content

Commit

Permalink
fix(sources): treesitter: add missing call to ipairs()
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed Jun 10, 2023
1 parent 94b8d52 commit d6775ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dropbar/sources/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ local function get_node_siblings(node, buf)
if valid_node(current, buf) then
table.insert(siblings, 1, current)
else
for _, sib in get_node_children(current, buf) do
for _, sib in ipairs(get_node_children(current, buf)) do
table.insert(siblings, 1, sib)
end
end
Expand Down

0 comments on commit d6775ce

Please sign in to comment.