We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 600c45c commit 2cd3ae6Copy full SHA for 2cd3ae6
lua/orgmode/org/mappings.lua
@@ -541,7 +541,7 @@ function OrgMappings:handle_return(suffix)
541
local counter = 1
542
while next_sibling do
543
local bullet = next_sibling:child(0)
544
- local text = table.concat(ts_utils.get_node_text(bullet))
+ local text = vim.treesitter.query.get_node_text(bullet, 0)
545
local new_text = tostring(tonumber(text:match('%d+')) + 1) .. closer
546
547
if counter == 1 then
0 commit comments