nvim: lsp: Debounce didChange notifications to the server

This commit is contained in:
Sanchayan Maity 2021-05-13 20:38:56 +05:30
parent 1c9b8aae40
commit ca46007f89

View file

@ -57,6 +57,7 @@ local on_attach = function(client, bufnr)
if client.config.flags then
client.config.flags.allow_incremental_sync = true
client.config.flags.debounce_text_changes = 100
end
local opts = { noremap=true, silent=true }