mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-16 15:32:48 +01:00
40 lines
778 B
Nix
40 lines
778 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "nvim-lightbulb";
|
|
description = "The plugin shows a lightbulb in the sign column whenever a `textDocument/codeAction` is available at the current cursor position.";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
settingsExample = {
|
|
sign = {
|
|
enabled = false;
|
|
text = "";
|
|
};
|
|
virtual_text = {
|
|
enabled = true;
|
|
text = "";
|
|
};
|
|
float = {
|
|
enabled = false;
|
|
text = " ";
|
|
win_opts.border = "rounded";
|
|
};
|
|
status_text = {
|
|
enabled = false;
|
|
text = " ";
|
|
};
|
|
number = {
|
|
enabled = false;
|
|
};
|
|
line = {
|
|
enabled = false;
|
|
};
|
|
autocmd = {
|
|
enabled = true;
|
|
updatetime = 200;
|
|
};
|
|
};
|
|
}
|