Skip to content

requiring file with multiple|tuple return #3321

@XNTEABDSC

Description

@XNTEABDSC

Zero-K uses multiple|tuple return e.g.

drone_defs.lua

......
return carrierDefs, thingsWhichAreDrones, unitRulesCarrierDefs
--carrierDefs is correct
--thingsWhichAreDrones and unitRulesCarrierDefs  are unknow
local carrierDefs, thingsWhichAreDrones, unitRulesCarrierDefs = VFS.Include("LuaRules/Configs/drone_defs.lua")

but in default settings LuaLS only detect the first return value and left others unknow.

Can you make a setting to enable it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions