Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/ale/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down