Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09e30e6

Browse files
committed
fix(lsp): when buffer detach remove buffer from client attached buffers
1 parentea10e0c commit09e30e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎runtime/lua/vim/lsp.lua‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1644,6 +1644,7 @@ function lsp.buf_attach_client(bufnr, client_id)
16441644
ifvim.tbl_get(client.server_capabilities,'textDocumentSync','openClose')then
16451645
client.notify('textDocument/didClose',params)
16461646
end
1647+
client.attached_buffers[bufnr]=nil
16471648
end)
16481649
util.buf_versions[bufnr]=nil
16491650
all_buffer_active_clients[bufnr]=nil

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp