Skip to content

Commit

Permalink
nvim 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed May 21, 2024
1 parent 28ec469 commit 274f1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chadtree/lsp/notify.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function(args)
local method, params = unpack(args)
if vim.lsp then
local clients = vim.lsp.get_active_clients()
local clients = (vim.lsp.get_clients or vim.lsp.get_active_clients)()
for _, client in pairs(clients) do
client.notify(method, params)
end
Expand Down

0 comments on commit 274f1c7

Please sign in to comment.