summaryrefslogtreecommitdiff
path: root/meta/template/package.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-03 17:41:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-03 17:41:56 +0800
commit23b01e07a92ed92a40b3ee8dbdcf03174dc82db5 (patch)
treeb6b2cafa2dcf23c64c6bfa8f2a1eff0947398a9f /meta/template/package.lua
parent7b76328600dd9bc5206f38a549da9e4f99c9ff84 (diff)
downloadlua-language-server-23b01e07a92ed92a40b3ee8dbdcf03174dc82db5.zip
add mark `---@nodiscard`
Diffstat (limited to 'meta/template/package.lua')
-rw-r--r--meta/template/package.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/template/package.lua b/meta/template/package.lua
index 0b2c8c1b..5c08bbef 100644
--- a/meta/template/package.lua
+++ b/meta/template/package.lua
@@ -55,6 +55,7 @@ package.searchers = {}
---@param rep? string
---@return string? filename
---@return string? errmsg
+---@nodiscard
function package.searchpath(name, path, sep, rep) end
---#DES 'package.seeall'