-
-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
LuaLS/LuaLS.github.io
#109Labels
feat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)questionUser has a questionUser has a question
Description
https://luals.github.io/wiki/annotations/#return
I tried this
---@return boolean, string ok result comment
local function parse(input)
local ok = true
local result = "foo"
return ok, result
end
---@return boolean, string ok, result comment
local function parse2(input)
local ok = true
local result = "foo"
return ok, result
end
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)questionUser has a questionUser has a question