Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

nvim-lightbulb

URL: https://github.com/kosayoda/nvim-lightbulb/

Maintainers: Gaetan Lepage


The plugin shows a lightbulb in the sign column whenever a textDocument/codeAction is available at the current cursor position.

plugins.nvim-lightbulb.enable

Whether to enable nvim-lightbulb.

Type: boolean

Default: false

Example: true

Declared by:

plugins.nvim-lightbulb.package

The nvim-lightbulb package to use.

Type: package

Default: pkgs.vimPlugins.nvim-lightbulb

Declared by:

plugins.nvim-lightbulb.autoLoad

Whether to automatically load nvim-lightbulb when neovim starts.

Type: boolean

Default: false when lazy-loading is enabled.

Example: false

Declared by:

plugins.nvim-lightbulb.settings

Options provided to the require('nvim-lightbulb').setup function.

Type: lua value

Default: { }

Example:

{
  autocmd = {
    enabled = true;
    updatetime = 200;
  };
  float = {
    enabled = false;
    text = " 󰌶 ";
    win_opts = {
      border = "rounded";
    };
  };
  line = {
    enabled = false;
  };
  number = {
    enabled = false;
  };
  sign = {
    enabled = false;
    text = "󰌶";
  };
  status_text = {
    enabled = false;
    text = " 󰌶 ";
  };
  virtual_text = {
    enabled = true;
    text = "󰌶";
  };
}

Declared by: