mirror of
https://github.com/neovim/neovim.git
synced 2025-11-08 03:25:05 +00:00
Remove comments.
This commit is contained in:
@@ -98,11 +98,7 @@ local function for_each_buffer_client(bufnr, callback)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
for client_id in pairs(client_ids) do
|
for client_id in pairs(client_ids) do
|
||||||
-- This is unlikely to happen. Could only potentially happen in a race
|
|
||||||
-- condition between literally a single statement.
|
|
||||||
-- We could skip this error, but let's error for now.
|
|
||||||
local client = active_clients[client_id]
|
local client = active_clients[client_id]
|
||||||
-- or error(string.format("Client %d has already shut down.", client_id))
|
|
||||||
if client then
|
if client then
|
||||||
callback(client, client_id)
|
callback(client, client_id)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user