mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-07 17:43:21 +00:00
20 lines
643 B
Nix
20 lines
643 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkOption mkEnableOption;
|
|
inherit (lib.types) listOf str;
|
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
in {
|
|
options.vim.lsp = {
|
|
lightbulb = {
|
|
enable = mkEnableOption "Lightbulb for code actions. Requires an emoji font";
|
|
setupOpts = mkPluginSetupOption "nvim-lightbulb" {};
|
|
autocmd = {
|
|
enable = mkEnableOption "updating lightbulb glyph automatically";
|
|
events = mkOption {
|
|
type = listOf str;
|
|
default = ["CursorHold" "CursorHoldI"];
|
|
description = "Events on which to update nvim-lightbulb glyphs";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|