Skip to content

Commit ec0ce17

Browse files
committed
fix
1 parent e12a566 commit ec0ce17

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

script/core/type-formatting.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ local function isInBlock(state, position)
141141
return true
142142
end
143143
end
144+
if source.type == 'table' then
145+
if source.start + 1 == position then
146+
return true
147+
end
148+
end
144149
end)
145150
return block ~= nil
146151
end

0 commit comments

Comments
 (0)