From 0db905ab64b8e6486f04f5a48d4871eb14141379 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 16 Nov 2021 15:14:10 +0800 Subject: `Lua.IntelliSense.localSet` --- test/type_inference/init.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/type_inference') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index a3764328..96da94aa 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -57,6 +57,7 @@ local var = '111' t. = var ]] +config.set('Lua.IntelliSense.localSet', true) TEST 'string' [[ local var = '111' @@ -67,6 +68,7 @@ local var var = '111' print() ]] +config.set('Lua.IntelliSense.localSet', false) TEST 'function' [[ function () @@ -78,11 +80,13 @@ local function () end ]] +config.set('Lua.IntelliSense.localSet', true) TEST 'function' [[ local xx = function () end ]] +config.set('Lua.IntelliSense.localSet', false) TEST 'table' [[ local = {} -- cgit v1.2.3