fix: remove gotos because this breaks lua 5.1 (#583)
This commit is contained in:
@@ -190,10 +190,9 @@ local function check_capabilities(feature)
|
||||
local supported_client = false
|
||||
for _, client in pairs(clients) do
|
||||
supported_client = client.resolved_capabilities[feature]
|
||||
if supported_client then goto continue end
|
||||
if supported_client then break end
|
||||
end
|
||||
|
||||
::continue::
|
||||
if supported_client then
|
||||
return true
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user