fix(lsp): wrong format of bufnr and client order in error message (#22336)

This commit is contained in:
Jason Hansen 2023-02-20 23:24:47 -07:00 committed by GitHub
parent 286777c333
commit bdf6d8733e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1736,8 +1736,8 @@ function lsp.buf_detach_client(bufnr, client_id)
vim.notify( vim.notify(
string.format( string.format(
'Buffer (id: %d) is not attached to client (id: %d). Cannot detach.', 'Buffer (id: %d) is not attached to client (id: %d). Cannot detach.',
client_id, bufnr,
bufnr client_id
) )
) )
return return