We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885394f commit 2b6f676Copy full SHA for 2b6f676
src/help.lua
@@ -117,7 +117,8 @@ local function search(helpitem)
117
searchfor(helpitem:capitalize(), "property", write_property) or
118
searchfor(helpitem, "property", write_property) or
119
searchfor(helpitem:capitalize(), "method", write_method) or
120
- searchfor(helpitem, "method", write_method) or
+ searchfor(helpitem:gsub(":", "."), "constructor", write_method) or
121
+ searchfor(helpitem:gsub("%.", ":"), "method", write_method) or
122
searchfor(helpitem, "%(", write_function)
123
if not result then
124
console.writecolor("lightred", "no help entry for ")
@@ -126,4 +127,5 @@ local function search(helpitem)
126
127
end
128
console.write("\n")
129
-search (arg[2])
130
+
131
+return search
0 commit comments