Skip to content

Commit

Permalink
fix: correctly align virtual indent with headings
Browse files Browse the repository at this point in the history
  • Loading branch information
PriceHiller committed Nov 15, 2023
1 parent d092de6 commit 55b750e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/orgmode/ui/virtual_indent.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function VirtualIndent:_get_indent_size(line)
local headline_line, _, _ = headline.headline:start()

if headline_line ~= line then
return headline:level()
return headline:level() + 1
end
end

Expand Down

0 comments on commit 55b750e

Please sign in to comment.