diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-14 22:23:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-14 22:23:32 +0800 |
commit | 75509a89ecc69c683c015a97c9844746c81e6057 (patch) | |
tree | 9d2b0784a10fbda18784c3e939b6b65987569ff3 /script/parser/luadoc.lua | |
parent | 7df9f807faf27e3faea33842ed599963e00cdb0b (diff) | |
download | lua-language-server-75509a89ecc69c683c015a97c9844746c81e6057.zip |
cheanup
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r-- | script/parser/luadoc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua index bbfd3ab4..22a2df1b 100644 --- a/script/parser/luadoc.lua +++ b/script/parser/luadoc.lua @@ -1367,6 +1367,7 @@ local function bindDocsBetween(sources, binded, bindSources, start, finish) end if src.start >= start then if src.type == 'local' + or src.type == 'self' or src.type == 'setglobal' or src.type == 'tablefield' or src.type == 'tableindex' @@ -1437,7 +1438,7 @@ end local bindDocAccept = { 'local' , 'setlocal' , 'setglobal', 'setfield' , 'setmethod' , 'setindex' , - 'tablefield', 'tableindex', + 'tablefield', 'tableindex', 'self' , 'function' , 'table' , '...' , } |