Replies: 1 comment 6 replies
-
What about: ---@alias argument_options
---| `argument_options.cwd` # the cwd path this will be launched at
---@param options argument_options
local function some_func(options) end ? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I basically want to achieve the following:
this shows the description for the
cwd
field when one doessome_func({cwd[ctrl+space]})
I want to achieve this same effect but with aliases, I tried the following but didn't seem to work:
Is there a way to do this? I don't want to use classes since they show up in the suggestion menu as their own type instead of a table expand.
Beta Was this translation helpful? Give feedback.
All reactions