diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-01 16:59:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-01 16:59:53 +0800 |
commit | 231e4e3b2be6f815c1d6734185537f777ef32d88 (patch) | |
tree | 908d1aeb53f442802de2eedcc0e22484e52c6efa /script/parser | |
parent | b9fdfac7c33478161dc17b8e41a0bd46b6f23621 (diff) | |
download | lua-language-server-231e4e3b2be6f815c1d6734185537f777ef32d88.zip |
update
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/guide.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index f490b306..15f52585 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1182,7 +1182,7 @@ function m.isOOP(source) return false end -local baseTypeMap = { +local basicTypeMap = { ['unknown'] = true, ['any'] = true, ['true'] = true, @@ -1199,8 +1199,8 @@ local baseTypeMap = { ---@param str string ---@return boolean -function m.isBaseType(str) - return baseTypeMap[str] == true +function m.isBasicType(str) + return basicTypeMap[str] == true end return m |