summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-22 21:03:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-22 21:03:50 +0800
commit30f1cea83c4d88775932dc4bc8c12b9c74ecfb19 (patch)
tree5f0e466931573e5d9e4da80f25b8355697de8cd4 /script/parser/guide.lua
parentcdb6c06ca2983f1caf1a0964997c8c44ea784b27 (diff)
downloadlua-language-server-30f1cea83c4d88775932dc4bc8c12b9c74ecfb19.zip
display optional field in table
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index e28a25e9..b008c69b 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -925,6 +925,7 @@ function m.getKeyNameOfLiteral(obj)
end
end
+---@return string?
function m.getKeyName(obj)
if not obj then
return nil