From cdd5f02f8868d0352239ab7b8bff1c517a297418 Mon Sep 17 00:00:00 2001 From: gumballriggy Date: Fri, 26 Dec 2025 19:38:41 -0500 Subject: [PATCH 1/3] Update lsp.lua replace deprecated client.request method call with colon syntax --- lua/ale/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/ale/lsp.lua b/lua/ale/lsp.lua index 6c54db126b..4856deb674 100644 --- a/lua/ale/lsp.lua +++ b/lua/ale/lsp.lua @@ -147,7 +147,7 @@ module.send_message = function(args) -- -- We set the bufnr to -1 to prevent Neovim from flushing anything, as ALE -- already flushes changes to files before sending requests. - success, request_id = client.request( + success, request_id = client:request( args.method, args.params, ---@diagnostic disable-next-line: param-type-mismatch From 9d56151fe8da2a84c1efcdb3545f3bb51c33cbc2 Mon Sep 17 00:00:00 2001 From: gumballriggy Date: Sun, 28 Dec 2025 15:03:24 -0500 Subject: [PATCH 2/3] fixy same as b4 but for client.notify now --- lua/ale/lsp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/ale/lsp.lua b/lua/ale/lsp.lua index 4856deb674..1121fdbc09 100644 --- a/lua/ale/lsp.lua +++ b/lua/ale/lsp.lua @@ -83,7 +83,7 @@ module.start = function(config) -- we can't get a client via get_client_by_id until after `on_init` is -- called. By deferring execution of calling the init callbacks we -- can only call them after the client becomes available, which - -- will make notifications for configuration changes work, etc. + -- will make ications for configuration changes work, etc. vim.defer_fn(function() vim.fn["ale#lsp#CallInitCallbacks"](config.name) end, 0) @@ -132,7 +132,7 @@ module.send_message = function(args) if args.is_notification then -- For notifications we send a request and expect no direct response. - local success = client.notify(args.method, args.params) + local success = client:notify(args.method, args.params) if success then return -1 From ff29109a9b313bd53b7abb908697b0385cc1ec26 Mon Sep 17 00:00:00 2001 From: ilovemikael Date: Sat, 3 Jan 2026 21:10:14 -0500 Subject: [PATCH 3/3] how did this even happen --- lua/ale/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/ale/lsp.lua b/lua/ale/lsp.lua index 1121fdbc09..065d78022a 100644 --- a/lua/ale/lsp.lua +++ b/lua/ale/lsp.lua @@ -83,7 +83,7 @@ module.start = function(config) -- we can't get a client via get_client_by_id until after `on_init` is -- called. By deferring execution of calling the init callbacks we -- can only call them after the client becomes available, which - -- will make ications for configuration changes work, etc. + -- will make notifications for configuration changes work, etc. vim.defer_fn(function() vim.fn["ale#lsp#CallInitCallbacks"](config.name) end, 0)