diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-17 17:48:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-17 17:48:58 +0800 |
commit | 8d2a56d0953a1b62c103296cf48e530b597c453e (patch) | |
tree | 14b7abfdb0e4b329a24fd76b759ab5ada3216c22 /test | |
parent | c7db60b4629f0174da0679d47cbb2f7cb8813ed9 (diff) | |
download | lua-language-server-8d2a56d0953a1b62c103296cf48e530b597c453e.zip |
limited searching across `---@type`
Diffstat (limited to 'test')
-rw-r--r-- | test/crossfile/definition.lua | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua index 6fb17082..ebe4dc31 100644 --- a/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua @@ -830,22 +830,22 @@ print(t.x.<?a?>) } } ---TEST { --- { --- path = 'a.lua', --- content = [[ ------@type Class ---local m ---m.<!xx!> = 1 --- ]] --- }, --- { --- path = 'b.lua', --- content = [[ ------@class Class ---local m --- ---print(m.<?xx?>) --- ]] --- } ---} +TEST { + { + path = 'a.lua', + content = [[ +---@type Class +local m +m.<!xx!> = 1 + ]] + }, + { + path = 'b.lua', + content = [[ +---@class Class +local m + +print(m.<?xx?>) + ]] + } +} |