visuals/indent-blankline: properly pass setupOpts to mkPluginSetupOption

This commit is contained in:
NotAShelf 2024-12-09 17:57:27 +03:00
parent 0c90a7b1c6
commit 48bcd5d695
No known key found for this signature in database
GPG key ID: AF26552424E53993

View file

@ -6,6 +6,7 @@
inherit (lib.modules) mkRenamedOptionModule;
inherit (lib.options) mkOption mkEnableOption literalExpression;
inherit (lib.types) int bool str nullOr either listOf attrsOf;
inherit (lib.nvim.types) mkPluginSetupOption;
cfg = config.vim.visuals;
in {
@ -15,7 +16,7 @@ in {
options.vim.visuals.indent-blankline = {
enable = mkEnableOption "indentation guides [indent-blankline]";
setupOpts = {
setupOpts = mkPluginSetupOption "indent-blankline" {
debounce = mkOption {
type = int;
description = "Debounce time in milliseconds";