init.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. -- Showing defaults
  2. require'nvim-lightbulb'.update_lightbulb {
  3. sign = {
  4. enabled = true,
  5. -- Priority of the gutter sign
  6. priority = 10,
  7. text = "💡",
  8. },
  9. float = {
  10. enabled = false,
  11. -- Text to show in the popup float
  12. text = "💡",
  13. -- Available keys for window options:
  14. -- - height of floating window
  15. -- - width of floating window
  16. -- - wrap_at character to wrap at for computing height
  17. -- - max_width maximal width of floating window
  18. -- - max_height maximal height of floating window
  19. -- - pad_left number of columns to pad contents at left
  20. -- - pad_right number of columns to pad contents at right
  21. -- - pad_top number of lines to pad contents at top
  22. -- - pad_bottom number of lines to pad contents at bottom
  23. -- - offset_x x-axis offset of the floating window
  24. -- - offset_y y-axis offset of the floating window
  25. -- - anchor corner of float to place at the cursor (NW, NE, SW, SE)
  26. -- - winblend transparency of the window (0-100)
  27. win_opts = {},
  28. },
  29. virtual_text = {
  30. enabled = false,
  31. -- Text to show at virtual text
  32. text = "💡",
  33. }
  34. }