refactor(editors): use nvim-lighbulb setup function
This commit is contained in:
parent
48f542c5a5
commit
6cb50e914b
|
@ -1,9 +1,9 @@
|
|||
local pid = vim.fn.getpid()
|
||||
|
||||
-- lightbulb
|
||||
vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI"}, {
|
||||
pattern = "*",
|
||||
callback = require"nvim-lightbulb".update_lightbulb,
|
||||
require("nvim-lightbulb").setup({
|
||||
autocmd = {
|
||||
enabled = true,
|
||||
}
|
||||
})
|
||||
|
||||
local on_attach = function(client, bufnr)
|
||||
|
|
Loading…
Reference in a new issue