diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-06 14:48:44 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-06 14:48:44 +0800 |
commit | df62d7a467cc2ffa1d4945c4912a4568baf75847 (patch) | |
tree | bc9329d5eb349cea72ab1f660d9ed7c7d2af620a /server/src/vm/emmy.lua | |
parent | cbd5169adaed554fe5ae3b2c9f4141039c2082cd (diff) | |
download | lua-language-server-df62d7a467cc2ffa1d4945c4912a4568baf75847.zip |
emmySee
Diffstat (limited to 'server/src/vm/emmy.lua')
-rw-r--r-- | server/src/vm/emmy.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/vm/emmy.lua b/server/src/vm/emmy.lua index 7a82cfcd..4ecef4d3 100644 --- a/server/src/vm/emmy.lua +++ b/server/src/vm/emmy.lua @@ -35,6 +35,7 @@ function mt:doEmmy(action) elseif tp == 'emmyFunctionType' then self:doEmmyFunctionType(action) elseif tp == 'emmySee' then + self:doEmmySee(action) elseif tp == 'emmyIncomplete' then self:doEmmyIncomplete(action) end @@ -312,3 +313,9 @@ end function mt:doEmmyIncomplete(action) self:instantSource(action) end + +function mt:doEmmySee(action) + self:instantSource(action) + self:instantSource(action[2]) + action[2]:set('emmy see', action) +end |