Skip to content

Commit

Permalink
style: format with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekaboo committed Dec 26, 2024
1 parent 5439d2f commit 62ac571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/dropbar/sources/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ local function get_symbols(buf, win, cursor)
:match('^i') and 1 or 0),
},
})
while current_node and #symbols < configs.opts.sources.treesitter.max_depth do
while
current_node and #symbols < configs.opts.sources.treesitter.max_depth
do
if valid_node(current_node, buf) then
table.insert(symbols, 1, convert(current_node, buf, win))
end
Expand Down

0 comments on commit 62ac571

Please sign in to comment.