diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-11 12:42:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-11 12:42:32 +0800 |
commit | cfe1bbb6c2461e85b19c4190bc63160f447acc75 (patch) | |
tree | 1de09e941a1b97a5b7fbb4e1001baed24f8e2f9e /test-beta/crossfile/hover.lua | |
parent | 05de2e6caecc62c4c6e16ec5256fd98a07c88d03 (diff) | |
download | lua-language-server-cfe1bbb6c2461e85b19c4190bc63160f447acc75.zip |
修改自动完成的预览
Diffstat (limited to 'test-beta/crossfile/hover.lua')
-rw-r--r-- | test-beta/crossfile/hover.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-beta/crossfile/hover.lua b/test-beta/crossfile/hover.lua index 5030edf4..3ee26123 100644 --- a/test-beta/crossfile/hover.lua +++ b/test-beta/crossfile/hover.lua @@ -65,7 +65,7 @@ function TEST(data) files.setText(sourceUri, sourceScript) local sourcePos = (sourceList[1][1] + sourceList[1][2]) // 2 - local hover = core(sourceUri, sourcePos) + local hover = core.byUri(sourceUri, sourcePos) assert(hover) if hover.label then hover.label = hover.label:gsub('\r\n', '\n') |