Skip to content

Commit

Permalink
Add idx logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aquilesg committed Jul 30, 2024
1 parent a21c5bc commit d4cf161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/obsidian/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,9 @@ local function update_extmarks(bufnr, ns_id, ui_opts)
-- Mark that we have a highlight group now
if string.match(line, search.Patterns.Callout) then
local count = #(line:match "^(>+)" or ">")
callout_block_highlights[count] = get_callout_hl_group(line, ui_opts)
local highlight = get_callout_hl_group(line, ui_opts)
callout_block_highlights[count] = highlight
log.debug("Inserting callout highlight: " .. highlight .. " into idx: " .. count)
end

-- Get all marks that should be materialized.
Expand Down

0 comments on commit d4cf161

Please sign in to comment.