Skip to content

Commit f355bd8

Browse files
committed
update semantic tokens
1 parent f3f0cc5 commit f355bd8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,12 @@
11701170
],
11711171
"variable": [
11721172
"variable.other.lua"
1173+
],
1174+
"variable.static": [
1175+
"variable.other.constant.lua"
1176+
],
1177+
"variable.abstract": [
1178+
"variable.other.constant.lua"
11731179
]
11741180
}
11751181
}

package/semanticTokenScope.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ return {
1111
['property.declaration'] = {"entity.other.attribute"},
1212
-- 局部变量
1313
['variable'] = {"variable.other.lua"},
14+
-- const 变量
15+
['variable.static'] = {'variable.other.constant.lua'},
16+
-- close 变量
17+
['variable.abstract'] = {'variable.other.constant.lua'},
1418
-- 自定义函数声明
1519
['interface.declaration'] = {"entity.name.function.lua"},
1620
}

0 commit comments

Comments
 (0)