diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-22 17:47:01 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-22 17:47:01 +0800 |
commit | 57eefd5142fab69c1e575917945fd3aded42f5ca (patch) | |
tree | 1b1b0f0ed1503bf3b68d800318f486bc0523210d /server/test/crossfile/references.lua | |
parent | ea693e88c314ed118dab0121524453b1ba3bea90 (diff) | |
download | lua-language-server-57eefd5142fab69c1e575917945fd3aded42f5ca.zip |
查找引用也通过转到定义实现
Diffstat (limited to 'server/test/crossfile/references.lua')
-rw-r--r-- | server/test/crossfile/references.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/crossfile/references.lua b/server/test/crossfile/references.lua index 5f29eb25..07bdf185 100644 --- a/server/test/crossfile/references.lua +++ b/server/test/crossfile/references.lua @@ -109,7 +109,7 @@ function TEST(data) compileAll(lsp) assert(vm) - local result = core.references(vm, pos, true) + local result = core.references(vm, pos, 'reference') if expect then assert(result) assert(founded(expect, result)) |