summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2023-04-27 16:04:12 +0800
committerfesily <fesil@foxmail.com>2023-04-27 16:04:12 +0800
commita3ff71dbd33ea04337327d8a2ee3f2d450d19601 (patch)
treecfcffffc0d2995cbe3b6233956e1e68bd43c3ba3 /meta
parent004eb4fb0314851b96858152b49a44cff90564de (diff)
downloadlua-language-server-a3ff71dbd33ea04337327d8a2ee3f2d450d19601.zip
fix
Diffstat (limited to 'meta')
-rw-r--r--meta/template/coroutine.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/template/coroutine.lua b/meta/template/coroutine.lua
index 085ff6fc..91a3aba3 100644
--- a/meta/template/coroutine.lua
+++ b/meta/template/coroutine.lua
@@ -10,13 +10,14 @@ coroutine = {}
---@nodiscard
function coroutine.create(f) end
----#if VERSION >= 5.3 then
+---#if VERSION >= 5.4 then
---#DES 'coroutine.isyieldable>5.4'
---@param co? thread
---@return boolean
---@nodiscard
function coroutine.isyieldable(co) end
---#else
+---@version >5.2
---#DES 'coroutine.isyieldable'
---@return boolean
---@nodiscard