Skip to content

Commit 8365eec

Browse files
committed
fix
1 parent 01fe08b commit 8365eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/core/hint.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ local function semicolonHint(uri, results, start, finish)
292292
local next = src[i+1]
293293
local left = current.range or current.finish
294294
local right = next.start
295-
local text = subber(left, right)
295+
local text = subber(current.finish, right)
296296
if mode == 'All' then
297297
if not text:find '[,;]' then
298298
results[#results+1] = {

0 commit comments

Comments
 (0)