Skip to content

Commit

Permalink
style: format with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
PriceHiller authored and lukas-reineke committed Sep 9, 2024
1 parent bc3d506 commit c19bbff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/headlines/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ M.refresh = function()
local virt_text = {}
if c.bullets and #c.bullets > 0 then
local bullet = c.bullets[((level - 1) % #c.bullets) + 1]
virt_text[1] = { string.rep(" ", level - vim.fn.strwidth(bullet)) .. bullet, { hl_group, bullet_hl_group } }
virt_text[1] =
{ string.rep(" ", level - vim.fn.strwidth(bullet)) .. bullet, { hl_group, bullet_hl_group } }
end

nvim_buf_set_extmark(bufnr, M.namespace, start_row, 0, {
Expand Down

0 comments on commit c19bbff

Please sign in to comment.