summaryrefslogtreecommitdiff
path: root/script/workspace/require-path.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-30 21:01:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-30 21:01:01 +0800
commitce0432a3cc09909d6a9c9c9886761a128d34c2ad (patch)
treec201df1746aef3a9caa13d43f48b6a2abf32ac65 /script/workspace/require-path.lua
parentb93e0756cc07d9188a8047438f502ff296d5ec66 (diff)
downloadlua-language-server-ce0432a3cc09909d6a9c9c9886761a128d34c2ad.zip
fix #1851
Diffstat (limited to 'script/workspace/require-path.lua')
-rw-r--r--script/workspace/require-path.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/workspace/require-path.lua b/script/workspace/require-path.lua
index d7ca8e26..e51d1219 100644
--- a/script/workspace/require-path.lua
+++ b/script/workspace/require-path.lua
@@ -68,6 +68,7 @@ function mt:getRequireResultByPath(path)
if vm.isMetaFileRequireable(uri) then
result[#result+1] = {
name = metaName,
+ searcher = '[[meta]]',
}
end
return result