21 lines
432 B
Lua
21 lines
432 B
Lua
|
return {
|
||
|
{
|
||
|
'kosayoda/nvim-lightbulb',
|
||
|
event = { 'BufReadPre', 'BufNewFile' },
|
||
|
opts = {
|
||
|
ignore = {
|
||
|
clients = { 'null-ls' },
|
||
|
},
|
||
|
},
|
||
|
config = function(_, opts)
|
||
|
require('nvim-lightbulb').setup(opts)
|
||
|
vim.api.nvim_create_autocmd('CursorHold', {
|
||
|
group = vim.api.nvim_create_augroup('plex_lightbulb', {}),
|
||
|
callback = function()
|
||
|
require('nvim-lightbulb').update_lightbulb()
|
||
|
end,
|
||
|
})
|
||
|
end,
|
||
|
},
|
||
|
}
|