diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 17:31:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:10:59 +0800 |
commit | 3843e72b87de1aa8903352d532dbdb60ed662da1 (patch) | |
tree | 626861e124ad08272b31d24e0c4701c2f90d5e3a /test/rename | |
parent | 19d38a540f37eff20c7fad1f35143f685a1831eb (diff) | |
download | lua-language-server-3843e72b87de1aa8903352d532dbdb60ed662da1.zip |
update
Diffstat (limited to 'test/rename')
-rw-r--r-- | test/rename/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rename/init.lua b/test/rename/init.lua index 01abe167..774c86d2 100644 --- a/test/rename/init.lua +++ b/test/rename/init.lua @@ -2,6 +2,7 @@ local core = require 'core.rename' local files = require 'files' local catch = require 'catch' local guide = require 'parser.guide' +local config = require 'config' local function replace(text, positions) local state = files.getState('') @@ -89,6 +90,7 @@ local function f(b) end ]] +config.set('Lua.IntelliSense.traceBeSetted', true) TEST ('a', '!!!') [[ t = { a = 0 @@ -116,6 +118,7 @@ t = { t["!!!"] = 1 a = t["!!!"] ]] +config.set('Lua.IntelliSense.traceBeSetted', false) TEST ('a', '"') [[ print(t[ "a" ]) |