-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
bugSomething isn't workingSomething isn't working
Description
A common pattern that I do in my code is use large comments to organize all the different types of functions that I write. My problem is that those large comments are incorrectly appended to hovered function documentation, as boxed in red below.

I expect only the comment directly above the function to be highlighted. In the case of the above picture, I only want to see "Does physics simulation".
Here is the example code that has the problem:
--[[
==========================Math Functions==========================
]]
--[[
Helps do math for physics
]]
local function Add(a: number, b: number): number
return a + b
end
--[[
==========================Physics Functions==========================
]]
--[[
Does physics simulation
]]
local function _Simulate(a: number, b: number): number
return Add(a, b) * Add(a, b)
endLastTalon, 4teapo and itsmath
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working