diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 15:14:10 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:10:32 +0800 |
commit | 4f67a3a783ca55c28d23eb29a5b7089cbcab7625 (patch) | |
tree | ea59bb177e5860bab009e591e4dda8163e026b5c /test/hover | |
parent | 681a815fb2492a5cdc443ef150f5c5cdccedcf2f (diff) | |
download | lua-language-server-4f67a3a783ca55c28d23eb29a5b7089cbcab7625.zip |
`Lua.IntelliSense.localSet`
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 36fbd6d2..128d1b8f 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -836,6 +836,7 @@ local t: { } ]] +config.set('Lua.IntelliSense.localSet', true) TEST [[ local x x = 1 @@ -846,6 +847,7 @@ print(<?x?>) [[ local x: number = 1 ]] +config.set('Lua.IntelliSense.localSet', false) TEST [[ local <?x?> <close> = 1 @@ -1687,6 +1689,7 @@ t.<?x?>() field t.x: any ]] +config.set('Lua.IntelliSense.localSet', true) TEST [[ ---@class A local a @@ -1699,6 +1702,7 @@ print(b.<?x?>) [[ field A.x: any ]] +config.set('Lua.IntelliSense.localSet', false) TEST [[ ---@class A |