diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-04 17:31:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-04 17:31:27 +0800 |
commit | 399c008ba189fe22716d46d2974de1569b1d39e8 (patch) | |
tree | 7ba2d3b7c4f5099a8fe5ea5a1e5c68e0a7861485 /script/parser | |
parent | 171ed306f84850be46620145358dcfdf37387de2 (diff) | |
download | lua-language-server-399c008ba189fe22716d46d2974de1569b1d39e8.zip |
update
Diffstat (limited to 'script/parser')
-rw-r--r-- | script/parser/guide.lua | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 10b2badb..730a099d 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -809,20 +809,25 @@ function m.getLineRange(state, row) end local isSetMap = { - ['setglobal'] = true, - ['local'] = true, - ['setlocal'] = true, - ['setfield'] = true, - ['setmethod'] = true, - ['setindex'] = true, - ['tablefield'] = true, - ['tableindex'] = true, - ['tableexp'] = true, - ['doc.class.name'] = true, - ['doc.alias.name'] = true, - ['doc.field.name'] = true, - ['doc.field'] = true, - ['doc.type.field'] = true, + ['setglobal'] = true, + ['local'] = true, + ['setlocal'] = true, + ['setfield'] = true, + ['setmethod'] = true, + ['setindex'] = true, + ['tablefield'] = true, + ['tableindex'] = true, + ['tableexp'] = true, + ['label'] = true, + ['doc.class'] = true, + ['doc.alias'] = true, + ['doc.field'] = true, + ['doc.type.function'] = true, + ['doc.type.table'] = true, + ['doc.class.name'] = true, + ['doc.alias.name'] = true, + ['doc.field.name'] = true, + ['doc.type.field'] = true, } function m.isSet(source) local tp = source.type |