diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-13 20:50:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-13 20:50:03 +0800 |
commit | 6a5cdaaf251a61cac95c7959c5a6218daaeaa12c (patch) | |
tree | e8c4aa1c791de3d66b3147ebfa5f39556a7532f6 /server/test/hover | |
parent | feba963bee80199f155d7312d1416c02080f07f0 (diff) | |
download | lua-language-server-6a5cdaaf251a61cac95c7959c5a6218daaeaa12c.zip |
合并hover的实现
Diffstat (limited to 'server/test/hover')
-rw-r--r-- | server/test/hover/init.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index e4c7b65b..6e81a684 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -84,24 +84,24 @@ obj.<?xxx?>() TEST [[ local <?x?> = 1 ]] -"number" +"number x = 1" TEST [[ <?x?> = 1 ]] -"number" +"number x = 1" TEST [[ local t = {} t.<?x?> = 1 ]] -"number" +"number t.x = 1" TEST [[ t = {} t.<?x?> = 1 ]] -"number" +"number t.x = 1" TEST [[ local mt = {} @@ -109,7 +109,7 @@ mt.__name = 'class' local <?obj?> = setmetatable({}, mt) ]] -"*class" +"*class obj" TEST [[ local mt = {} @@ -118,7 +118,7 @@ mt.__index = mt local <?obj?> = setmetatable({}, mt) ]] -"*class" +"*class obj" TEST [[ local mt = {} @@ -127,7 +127,7 @@ mt.__index = mt local <?obj?> = setmetatable({}, mt) ]] -"*class" +"*class obj" TEST [[ local mt = {} @@ -136,10 +136,10 @@ mt.__index = mt local <?obj?> = setmetatable({}, mt) ]] -"*class" +"*class obj" TEST[[ local fs = require 'bee.filesystem' local <?root?> = fs.current_path() ]] -"*bee::filesystem" +"*bee::filesystem root" |