We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5562a0 commit 738de39Copy full SHA for 738de39
lua/orgmode/org/indent.lua
@@ -212,7 +212,7 @@ local get_matches = ts_utils.memoize_by_buf_tick(function(bufnr)
212
-- Only loop the content.
213
for i = range.start.line + 1, range['end'].line - 2 do
214
matches[i + 1] = vim.tbl_deep_extend('force', opts, {
215
- indent = vim.fn.indent(i + 1) + content_indent_pad,
+ indent = vim.fn.indent(i + 1) + (content_indent_pad or 0),
216
})
217
end
218
elseif type == 'paragraph' or type == 'drawer' or type == 'property_drawer' then
0 commit comments