Skip to content

Commit 1abeb31

Browse files
authored
Merge pull request #971 from xiyaowong/patch-1
feat(semantic-tokens): mark annotations(@...) as keywords
2 parents 2e22590 + fe96e76 commit 1abeb31

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
@@ -828,7 +828,7 @@ return function (uri, start, finish)
828828
results[#results+1] = {
829829
start = comm.start + 3,
830830
finish = comm.start + 2 + #comm.text:match '%S+',
831-
type = define.TokenTypes.comment,
831+
type = define.TokenTypes.keyword,
832832
modifieres = define.TokenModifiers.documentation,
833833
}
834834
else

0 commit comments

Comments
 (0)