diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-21 18:29:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-21 18:29:57 +0800 |
commit | 320680b3529d2d4be84c13ac5ca6d728c6c5621c (patch) | |
tree | 5f158aca0c4d1d37ffbbbe7beb355800a17eb706 /server/test | |
parent | 8f5725af96853b31afe6473b741e0b918b4a0210 (diff) | |
download | lua-language-server-320680b3529d2d4be84c13ac5ca6d728c6c5621c.zip |
修正有时会提前关闭参数提示的BUG
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/signature/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/signature/init.lua b/server/test/signature/init.lua index 89863f12..81e002e6 100644 --- a/server/test/signature/init.lua +++ b/server/test/signature/init.lua @@ -5,7 +5,7 @@ rawset(_G, 'TEST', true) function TEST(script) return function (expect) - local pos = script:find('@', 1, true) + local pos = script:find('@', 1, true) + 1 local new_script = script:gsub('@', '') local ast = parser:ast(new_script) local vm = matcher.vm(ast) |