summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2022-03-05 21:24:34 +0800
committersumneko <sumneko@hotmail.com>2022-03-05 21:24:34 +0800
commite556621ca31bc80c78048b82412cb46bdb3a085a (patch)
treecc4b49dd818a5762762711b6f46faebb2c936f79 /script/parser/luadoc.lua
parent6b7b3a89c8ef0640571ebe9324ea4e43ffbfff33 (diff)
downloadlua-language-server-e556621ca31bc80c78048b82412cb46bdb3a085a.zip
literal generic
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 5bc566f2..ccc38eac 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -120,6 +120,9 @@ Symbol <- ({} {
end,
})
+---@class parser.object
+---@field literal boolean
+
local function trim(str)
return str:match '^%s*(%S+)%s*$'
end