aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-21 15:55:45 -0800
committerAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-21 15:55:45 -0800
commitc055ca00ce61499e9161b8d2fa48568e833ee5b0 (patch)
tree6bf56de0b4b5357e3ae372316332bbc010156d6f /runtime/lua/vim/lsp.lua
parent43d73ee884f97861c44adab4797a8fc185af1436 (diff)
downloadrneovim-c055ca00ce61499e9161b8d2fa48568e833ee5b0.tar.gz
rneovim-c055ca00ce61499e9161b8d2fa48568e833ee5b0.tar.bz2
rneovim-c055ca00ce61499e9161b8d2fa48568e833ee5b0.zip
Remove comments.
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index 790f8f8a9d..17d6001496 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -98,11 +98,7 @@ local function for_each_buffer_client(bufnr, callback)
return
end
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]
- -- or error(string.format("Client %d has already shut down.", client_id))
if client then
callback(client, client_id)
end