Open MillhioreBT opened 1 week ago
use ---@meta <modulepath>
override real module
eg.
test.lua
local t = {
aaa = 123,
bbb = 456
}
return t
test2.lua
---@meta test
local t = {
--- 'hhihihi'
aaa = 123,
bbb = 123,
}
return t
test3.lua
Basically I have some methods defined in my files, but I don't like that it suggests two versions of the same methods, since in my LuaLS
---@meta modules
I also have these methods defined, but I want to have everything that istyped
outside of my real code.Does anyone know if this is possible?