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()
|
local pid = vim.fn.getpid()
|
||||||
|
|
||||||
-- lightbulb
|
require("nvim-lightbulb").setup({
|
||||||
vim.api.nvim_create_autocmd({"CursorHold", "CursorHoldI"}, {
|
autocmd = {
|
||||||
pattern = "*",
|
enabled = true,
|
||||||
callback = require"nvim-lightbulb".update_lightbulb,
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
local on_attach = function(client, bufnr)
|
local on_attach = function(client, bufnr)
|
||||||
|
|
Loading…
Reference in a new issue