Skip to content

Commit 1fb69d4

Browse files
committedJul 17, 2021
fix: send didChange on register source
1 parent e56757e commit 1fb69d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lua/null-ls/lspconfig.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ end
4141
function M.on_register_source()
4242
for _, bufnr in ipairs(vim.api.nvim_list_bufs()) do
4343
M.try_add(bufnr)
44-
vim.lsp.buf_notify(bufnr, "textDocument/didOpen", { textDocument = { uri = vim.uri_from_bufnr(bufnr) } })
44+
vim.lsp.buf_notify(bufnr, "textDocument/didChange", { textDocument = { uri = vim.uri_from_bufnr(bufnr) } })
4545
end
4646
end
4747

0 commit comments

Comments
 (0)
Please sign in to comment.