fix(nvim): use correct autocmd event matching in lightbulb

This commit is contained in:
Price Hiller 2023-10-13 12:33:22 -05:00
parent 2b141a26e8
commit 65e0c15cca
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -42,7 +42,7 @@ return {
"LightBulbSign",
{ text = text_icon, numhl = "DiagnosticSignHint", texthl = "DiagnosticSignHint", priority = 9 }
)
vim.api.nvim_create_autocmd("CursorHold,CursorHoldI", {
vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI"}, {
callback = nvim_lightbulb.update_lightbulb,
})
return {