luau-lang/luau

end keyword doesn't show up in autocomplete suggestions when using a return statement

TumbleWede opened this issue · 0 comments

Sometimes the end keyword doesn't show up in autocomplete suggestions when trying to end a code block.
This happens whenever I try to end a code block with a return statement, but ending a block with anything else works correctly.
This bug happens with both Luau Language Server and Roblox Studio's built-in script editor which indicates that it's a bug on Luau's end.

8mb.video-16t-2ONF43Xt.mp4