diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-19 15:20:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-19 15:20:20 +0800 |
commit | 58a8a075c9a83d5356ef49c6bd6122d7387b92ae (patch) | |
tree | 5b7f384240c9c2ab88e659437a0a3d58e9054abe /server/test/hover | |
parent | 2c5cfd138ace486e36960a018e39d1b9c52cabc1 (diff) | |
download | lua-language-server-58a8a075c9a83d5356ef49c6bd6122d7387b92ae.zip |
支持method和documentation
Diffstat (limited to 'server/test/hover')
-rw-r--r-- | server/test/hover/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index 8177713e..3cc8305f 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -13,7 +13,7 @@ function TEST(script) local vm = matcher.vm(ast) assert(vm) local result, source = matcher.findResult(vm, pos) - local result = matcher.hover(vm, result, source) + local result = matcher.hover(result, source) assert(result) expect = expect:gsub('^[\r\n]*(.-)[\r\n]*$', '%1'):gsub('\r\n', '\n') result = result:gsub('```lua[\r\n]*', ''):gsub('[\r\n]*```', ''):gsub('^[\r\n]*(.-)[\r\n]*$', '%1'):gsub('\r\n', '\n') |