fix(markdown): Revert a change from a previous commit

This commit is contained in:
hedy
2023-11-24 17:13:44 +08:00
parent 1c856660a4
commit a7fe7baf5f

View File

@@ -109,6 +109,13 @@ function M.handle_markdown()
::nextline:: ::nextline::
end end
for i = 2, max_level do
if level_symbols[i] ~= nil then
level_symbols[i].selectionRange['end'].line = #lines
level_symbols[i].range['end'].line = #lines
end
end
return level_symbols[1].children return level_symbols[1].children
end end