diff --git a/lua/orgmode/ui/virtual_indent.lua b/lua/orgmode/ui/virtual_indent.lua index d98ca938d..806252cd4 100644 --- a/lua/orgmode/ui/virtual_indent.lua +++ b/lua/orgmode/ui/virtual_indent.lua @@ -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