nvimdev

LightBulb

Usage #

Automatically show lightbulbs when the current line has available code actions.

lightbulb

Default Options #

  • enable = true enable
  • sign = true show sign in status column
  • virtual_text = true show virtual text at the end of line
  • debounce = 10 timer debounce
  • sign_priority = 40 sign priority

How to Change the Sign #

The sign uses ui.code_action (see misc.md):

require('lspsaga').setup({
    ui = {
        code_action = 'your icon'
    }
})