summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-23 15:13:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-23 15:13:51 +0800
commitc2018e05de0e9eebadbe094357d22883a608fdf5 (patch)
tree9a95a05a88f0e828c37c973732ef15fc80ce216b /script/parser/luadoc.lua
parentcb16010fbb4128e2a5a31013e02b8cc4a4318be8 (diff)
downloadlua-language-server-c2018e05de0e9eebadbe094357d22883a608fdf5.zip
support `---@class (exact)`
#1990
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 81869638..d7338918 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -841,6 +841,7 @@ local docSwitch = util.switch()
operators = {},
calls = {},
}
+ result.docAttr = parseDocAttr(result)
result.class = parseName('doc.class.name', result)
if not result.class then
pushWarning {