summaryrefslogtreecommitdiffstats
path: root/after/plugin/lightbulb.lua
blob: 00fcfcc4f79735f227e6a2a53fe637a321ab01ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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="",
})