summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-15 13:39:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-15 13:39:39 +0800
commit8e9d309bf2a3b3e3f4530acb2cbaa3cdd6869cee (patch)
treeb6ca7b149b26c2458596bc78ddfc8da043bae20d
parent035143c078f9e87b92a909b415d4d060db155604 (diff)
downloadlua-language-server-8e9d309bf2a3b3e3f4530acb2cbaa3cdd6869cee.zip
默认递归次数改为3次
-rw-r--r--server/src/vm/function.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/vm/function.lua b/server/src/vm/function.lua
index 80efa56c..8625853f 100644
--- a/server/src/vm/function.lua
+++ b/server/src/vm/function.lua
@@ -145,7 +145,7 @@ function mt:hasRuned()
end
function mt:needSkip()
- return self._runed > 1
+ return self._runed > 3
end
function mt:run(vm)