From f8551a93927ab782ddd58397f86580dc6301a4be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sun, 24 Apr 2022 05:46:51 +0800 Subject: `setlocal` can be marked by `---@type` --- script/parser/luadoc.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/parser/luadoc.lua') diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index e69e98d3..3b50db34 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1390,6 +1390,7 @@ local function bindDocsBetween(sources, binded, bindSources, start, finish) if src.start >= start then if src.type == 'local' or src.type == 'self' + or src.type == 'setlocal' or src.type == 'setglobal' or src.type == 'tablefield' or src.type == 'tableindex' -- cgit v1.2.3