mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
Merge pull request #16907 from neovim/backport-16906-to-release-0.6
[Backport release-0.6] fix(lsp): explicitly pass bufnr in didSave handler
This commit is contained in:
commit
239e549d23
@ -1131,7 +1131,7 @@ function lsp._text_document_did_save_handler(bufnr)
|
||||
if client.resolved_capabilities.text_document_save then
|
||||
local included_text
|
||||
if client.resolved_capabilities.text_document_save_include_text then
|
||||
included_text = text()
|
||||
included_text = text(bufnr)
|
||||
end
|
||||
client.notify('textDocument/didSave', {
|
||||
textDocument = {
|
||||
|
Loading…
Reference in New Issue
Block a user