diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-23 20:07:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-23 20:07:27 +0800 |
commit | 2ae204dec9a85ebe9869169cb5a2a3a10030899a (patch) | |
tree | 0d588cdd58ed16122a9d284ecd90483215e08b01 /test | |
parent | bd0ae14501722da6bb2ea355916583429683b31d (diff) | |
download | lua-language-server-2ae204dec9a85ebe9869169cb5a2a3a10030899a.zip |
fix hover of getlocal/setlocal with attribute
Diffstat (limited to 'test')
-rw-r--r-- | test/hover/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 839c9311..a738aab6 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -857,6 +857,14 @@ local x <close>: integer = 1 ]] TEST [[ +local x <close> = 1 +print(<?x?>) +]] +[[ +local x <close>: integer = 1 +]] + +TEST [[ local function <?a?>(b) return (b.c and a(b.c) or b) end |