diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-05-26 13:51:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 13:51:26 +0800 |
commit | d7b7bd258df58c8b9fea5d5ac110975e7387cd9c (patch) | |
tree | d400a9cb6f1a897913ff9fe56d7d0e83c45c078b /test/crossfile/definition.lua | |
parent | 0583236680b16588c52c7c98ac5a3f8a7071b868 (diff) | |
parent | 9dc816f99f4a4329a3daff55a7199a8265a00c2c (diff) | |
download | lua-language-server-d7b7bd258df58c8b9fea5d5ac110975e7387cd9c.zip |
Merge pull request #167 from Ruin0x11/multi-workspace
Support multiple workspace folders
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r-- | test/crossfile/definition.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua index 02209609..c59e5999 100644 --- a/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua @@ -44,8 +44,7 @@ end function TEST(datas) local lsp = service() - local ws = workspace(lsp, 'test') - lsp.workspace = ws + local ws = lsp:addWorkspace('test', uric.encode(ROOT)) local compiled = {} local targetList = {} |