diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-28 02:43:52 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-28 02:43:52 +0800 |
commit | 274cd6b326ca6be0da65ebde79f8c48c83bc406b (patch) | |
tree | bc20cc1cc5a1be2645e18db35a4c1ef0a71c0354 /test-beta/crossfile/definition.lua | |
parent | c352af7a59b14f60ea5aca7bddfbc891068b4cb0 (diff) | |
download | lua-language-server-274cd6b326ca6be0da65ebde79f8c48c83bc406b.zip |
hover也显示推测的搜索路径
Diffstat (limited to 'test-beta/crossfile/definition.lua')
-rw-r--r-- | test-beta/crossfile/definition.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-beta/crossfile/definition.lua b/test-beta/crossfile/definition.lua index c5601a1f..99e1d7f2 100644 --- a/test-beta/crossfile/definition.lua +++ b/test-beta/crossfile/definition.lua @@ -119,6 +119,18 @@ TEST { TEST { { + path = 'aaa/bbb.lua', + content = '', + target = {0, 0}, + }, + { + path = 'b.lua', + content = 'require "<?bbb?>"', + }, +} + +TEST { + { path = 'a.lua', content = 'local <!t!> = 1; return <!t!>', }, |