aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-02-25 10:25:14 -0800
committerGitHub <noreply@github.com>2021-02-25 10:25:14 -0800
commit0c7610cf9dd6aa190676fb2ecc8e6cce34f80962 (patch)
treea5759769abd6c0d0e4a81c6d2305497cb50ccef1 /runtime/lua/vim/lsp/protocol.lua
parenta2b6e5ed4ecdd2733ee71656ee0df6f2ce4aaf6c (diff)
parenteff7666163ce0c81fc1a54eceb8c8d84c314aaad (diff)
downloadrneovim-0c7610cf9dd6aa190676fb2ecc8e6cce34f80962.tar.gz
rneovim-0c7610cf9dd6aa190676fb2ecc8e6cce34f80962.tar.bz2
rneovim-0c7610cf9dd6aa190676fb2ecc8e6cce34f80962.zip
Merge pull request #14014 from mfussenegger/textDocumentSync
LSP: Resolve text_document_save capability according to spec
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 3e111c154a..388f65c180 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -938,7 +938,7 @@ function protocol.resolve_capabilities(server_capabilities)
text_document_did_change = textDocumentSync;
text_document_will_save = false;
text_document_will_save_wait_until = false;
- text_document_save = false;
+ text_document_save = true;
text_document_save_include_text = false;
}
elseif type(textDocumentSync) == 'table' then