fix(nvim): use correct autocmd event matching in lightbulb
This commit is contained in:
parent
2b141a26e8
commit
65e0c15cca
@ -42,7 +42,7 @@ return {
|
|||||||
"LightBulbSign",
|
"LightBulbSign",
|
||||||
{ text = text_icon, numhl = "DiagnosticSignHint", texthl = "DiagnosticSignHint", priority = 9 }
|
{ 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,
|
callback = nvim_lightbulb.update_lightbulb,
|
||||||
})
|
})
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user