diff options
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 |