summaryrefslogtreecommitdiff
path: root/script/config
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-22 16:29:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-22 16:29:18 +0800
commit09512074acae34fccc60f31a8c84d022e03ddf23 (patch)
treed431ad47d4688b6b879686a1c4926235ac3afa01 /script/config
parente5d692cb0845e5de7988904017440bd4db551bb7 (diff)
downloadlua-language-server-09512074acae34fccc60f31a8c84d022e03ddf23.zip
update
Diffstat (limited to 'script/config')
-rw-r--r--script/config/config.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/config/config.lua b/script/config/config.lua
index f8d9e985..73d21b0b 100644
--- a/script/config/config.lua
+++ b/script/config/config.lua
@@ -27,7 +27,7 @@ local function update(scp, key, nowValue, rawValue)
raw[key] = rawValue
end
----@param uri uri
+---@param uri? uri
---@param key? string
---@return scope
local function getScope(uri, key)
@@ -70,7 +70,7 @@ function m.setByScope(scp, key, value)
return true
end
----@param uri uri
+---@param uri? uri
---@param key string
---@param value any
function m.set(uri, key, value)