Skip to content

Commit 964864d

Browse files
committed
fix
1 parent 82ec96f commit 964864d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/core/semantic-tokens.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ return function (uri, start, finish)
826826
}
827827
results[#results+1] = {
828828
start = comm.start + #head + 1,
829-
finish = comm.start + #head + 2 + #comm.text:match('%S+', #head + 1),
829+
finish = comm.start + #head + 2 + #comm.text:match('%S*', #head + 1),
830830
type = define.TokenTypes.keyword,
831831
modifieres = define.TokenModifiers.documentation,
832832
}

0 commit comments

Comments
 (0)