diff options
Diffstat (limited to 'test/references/all.lua')
-rw-r--r-- | test/references/all.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/references/all.lua b/test/references/all.lua index 5229c54b..cbe8ebb5 100644 --- a/test/references/all.lua +++ b/test/references/all.lua @@ -1,3 +1,5 @@ +local config = require 'config' + TEST [[ ---@class A local a = {} @@ -76,6 +78,7 @@ end local _, <!f2!> = f() ]] +config.set('Lua.IntelliSense.traceReturn', true) TEST [[ local <?x?> local function f() @@ -93,7 +96,7 @@ local function f() end local <!y!> = f()() ]] - +config.set('Lua.IntelliSense.traceReturn', false) TEST [[ ---@class A |