summaryrefslogtreecommitdiff
path: root/test/highlight
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-22 15:06:32 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-22 15:06:32 +0800
commitdf5bd5457ad450a0f57553ee587280bd79b43072 (patch)
tree7c77588ccb3e049c0fe166996786b9259ee60151 /test/highlight
parent99b2d0ee4994aceefca8911f8f9ec18a977aa909 (diff)
downloadlua-language-server-df5bd5457ad450a0f57553ee587280bd79b43072.zip
fix interface not show after `,`
Diffstat (limited to 'test/highlight')
-rw-r--r--test/highlight/init.lua2
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)