summaryrefslogtreecommitdiff
path: root/script/utility.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-24 05:31:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-24 05:31:41 +0800
commit33cc241c685b66173423eee57b32876c5dd4aa3e (patch)
tree286852cfd36dc314c0d41a942c83a54f6228875b /script/utility.lua
parent24abcb32ef427ce9ed8501af2a0a01aca42e23cf (diff)
downloadlua-language-server-33cc241c685b66173423eee57b32876c5dd4aa3e.zip
check nils
Diffstat (limited to 'script/utility.lua')
-rw-r--r--script/utility.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/utility.lua b/script/utility.lua
index f5cc0e1d..47b0c8d8 100644
--- a/script/utility.lua
+++ b/script/utility.lua
@@ -315,8 +315,8 @@ function m.saveFile(path, content)
end
--- 计数器
----@param init integer {optional = 'after'}
----@param step integer {optional = 'after'}
+---@param init? integer
+---@param step? integer
---@return fun():integer
function m.counter(init, step)
if not step then