-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
README.md lacks an example of field argTypes in .luacompleterc. I tried to write like the following but it didn't seem to have any effect.
"namedTypes": {
"cat": {
"type": "table",
"fields": {
"color": { "type": "string" },
"is_fluffy": { "type": "boolean" },
"meow":
{
"type": "function",
"args": [{ "name": "self" }, { "name": "arg1" }, { "name": "arg2" }],
"argTypes": [{ "type": "ref", "name": "cat" }, { "type": "ref", "name": "cat" }, { "type": "ref", "name": "cat" }],
"returnTypes": [{ "type": "ref", "name": "cat" }]
}
}
}
},
My expectation was that with a settings like the above, I will be able to see an autocomplete based on the type:
function cat.meow(self, arg1, arg2)
arg1. -- ... autocomplete?
end
Is argTypes not supposed to work that way?
Metadata
Metadata
Assignees
Labels
No labels