summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-01 16:59:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-01 16:59:53 +0800
commit231e4e3b2be6f815c1d6734185537f777ef32d88 (patch)
tree908d1aeb53f442802de2eedcc0e22484e52c6efa /script/parser
parentb9fdfac7c33478161dc17b8e41a0bd46b6f23621 (diff)
downloadlua-language-server-231e4e3b2be6f815c1d6734185537f777ef32d88.zip
update
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua6
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