saks / lua-resty-repl

Interactive console (REPL) for Openresty and luajit code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add completion for "object:method" definition

saks opened this issue · comments

Assume we have code like this:

local m = {}
function m:meth1() end
local mt = {}
function mt:meth2() end

and then

[1] lua(main)> m:

hit TAB, but no completion