Skip to content

Commit

Permalink
Adjust end column ending for headers
Browse files Browse the repository at this point in the history
  • Loading branch information
aquilesg committed Jul 30, 2024
1 parent c151e1d commit 46db897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/obsidian/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ local function generate_callout_extmarks_header(marks, indent, line, lnum, opts,
generate_callout_extmarks_body(marks, line, lnum, callout_hl_group_stack, callout_mark_start, callout_mark_end)
-- Ensure callout_mark_start and callout_mark_end are not nil
if callout_mark_start and callout_mark_end then
local end_intro_mark = callout_mark_start + 4
local end_intro_mark = callout_mark_start + 2
log.debug("Generating callout header for:" .. line)
local callout_mark_header = ExtMark.new(
nil,
Expand Down

0 comments on commit 46db897

Please sign in to comment.