-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lightbulb: add setupOpts option (#492)
Co-authored-by: Ching Pei Yang <[email protected]> Co-authored-by: raf <[email protected]>
- Loading branch information
1 parent
4daa920
commit 73660af
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{lib, ...}: let | ||
inherit (lib.options) mkEnableOption; | ||
inherit (lib.nvim.types) mkPluginSetupOption; | ||
in { | ||
options.vim.lsp = { | ||
lightbulb = { | ||
enable = mkEnableOption "Lightbulb for code actions. Requires an emoji font"; | ||
setupOpts = mkPluginSetupOption "nvim-lightbulb" {}; | ||
}; | ||
}; | ||
} |