diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 15:51:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:10:37 +0800 |
commit | ab66ba1271153ae9113749ac12aa59f01dd51f48 (patch) | |
tree | dc681c4e5d7242b312f829b1a719c068aaee6e78 /test/references | |
parent | 4f67a3a783ca55c28d23eb29a5b7089cbcab7625 (diff) | |
download | lua-language-server-ab66ba1271153ae9113749ac12aa59f01dd51f48.zip |
`Lua.IntelliSense.traceReturn`
Diffstat (limited to 'test/references')
-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 |