24 lines
436 B
Lua
24 lines
436 B
Lua
local status_ok, lightbulb = pcall(require, "nvim-lightbulb")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
lightbulb.setup {
|
|
sign = {
|
|
enabled = true,
|
|
priority = 10000, -- make this really high so it always shows
|
|
},
|
|
autocmd = {
|
|
enabled = true,
|
|
pattern = {"*"},
|
|
events = {"CursorHold", "CursorHoldI"}
|
|
}
|
|
}
|
|
|
|
vim.fn.sign_define('LightBulbSign', {
|
|
text = "f",
|
|
texthl = "LightBulbSignTxthl",
|
|
linehl="",
|
|
numhl="",
|
|
})
|