Skip to content
Snippets Groups Projects
Commit 8ec4cae2 authored by 最萌小汐's avatar 最萌小汐
Browse files

update semantic-tokens

parent 1863d0e3
No related branches found
No related tags found
No related merge requests found
......@@ -21,14 +21,23 @@ return {
['variable'] = {'variable.other.lua'},
-- close 变量 | Close variable
['variable.abstract'] = {'variable.other.constant.lua'},
-- self
['variable.definition'] = {'variable.language.self.lua'},
-- 局部变量 | Local variable
['variable.declaration'] = {'variable.other.lua'},
-- Lua库常量,如 _G | Lua library constants, such as _G
['variable.defaultLibrary'] = {'support.constant.lua'},
-- 局部变量 | Local variable
['variable.local'] = {'variable.other.lua'},
-- const 变量 | Const variable
['variable.readonly'] = {'variable.other.constant.lua'},
-- 全局变量 | Global variable
['variable.static'] = {'variable.other.lua'},
['keyword'] = {'keyword.control.lua'},
['keyword.declaration'] = {'keyword.local.lua'},
['keyword.readonly'] = {'constant.language.lua'},
['operator'] = {'keyword.operator.lua'},
['number'] = {'constant.numeric.float.lua'},
['number.static'] = {'constant.numeric.integer.lua'},
['string'] = {'string.lua'},
['string.modification'] = {'constant.character.escape.lua'},
['string.deprecated'] = {'invalid.illegal.character.escape.lua'},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment