diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 03:50:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 03:50:55 +0800 |
commit | 30ee7c0e30eb5dcc2ec82514343b107d1b201200 (patch) | |
tree | 44df79de90a45e57af9349cbb613e8989a36755a /script/vm | |
parent | c62b62ee0c0fb980d96089d546388efd70fc6ebe (diff) | |
download | lua-language-server-30ee7c0e30eb5dcc2ec82514343b107d1b201200.zip |
fix #1451
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/global.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/vm/global.lua b/script/vm/global.lua index 22235681..3a045b22 100644 --- a/script/vm/global.lua +++ b/script/vm/global.lua @@ -104,6 +104,11 @@ function mt:getName() end ---@return string +function mt:getCodeName() + return (self.name:gsub(vm.ID_SPLITE, '.')) +end + +---@return string function mt:asKeyName() return self.cate .. '|' .. self.name end |