diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 15:06:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-22 15:06:32 +0800 |
commit | df5bd5457ad450a0f57553ee587280bd79b43072 (patch) | |
tree | 7c77588ccb3e049c0fe166996786b9259ee60151 /test/highlight/init.lua | |
parent | 99b2d0ee4994aceefca8911f8f9ec18a977aa909 (diff) | |
download | lua-language-server-df5bd5457ad450a0f57553ee587280bd79b43072.zip |
fix interface not show after `,`
Diffstat (limited to 'test/highlight/init.lua')
-rw-r--r-- | test/highlight/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/highlight/init.lua b/test/highlight/init.lua index 9f899113..2bf639fa 100644 --- a/test/highlight/init.lua +++ b/test/highlight/init.lua @@ -39,7 +39,7 @@ function TEST(script) for _, enter in ipairs(target) do local start, finish = enter.start, enter.finish files.removeAll() - local pos = (start + finish) // 2 + 1 + local pos = (start + finish) // 2 local new_script = script:gsub('<[!?~]', ' '):gsub('[!?~]>', ' ') files.setText('', new_script) |