mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 04:09:48 +01:00
visuals/indent-blankline: properly pass setupOpts to mkPluginSetupOption
This commit is contained in:
parent
0c90a7b1c6
commit
48bcd5d695
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
inherit (lib.modules) mkRenamedOptionModule;
|
inherit (lib.modules) mkRenamedOptionModule;
|
||||||
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
inherit (lib.options) mkOption mkEnableOption literalExpression;
|
||||||
inherit (lib.types) int bool str nullOr either listOf attrsOf;
|
inherit (lib.types) int bool str nullOr either listOf attrsOf;
|
||||||
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||||
|
|
||||||
cfg = config.vim.visuals;
|
cfg = config.vim.visuals;
|
||||||
in {
|
in {
|
||||||
|
@ -15,7 +16,7 @@ in {
|
||||||
|
|
||||||
options.vim.visuals.indent-blankline = {
|
options.vim.visuals.indent-blankline = {
|
||||||
enable = mkEnableOption "indentation guides [indent-blankline]";
|
enable = mkEnableOption "indentation guides [indent-blankline]";
|
||||||
setupOpts = {
|
setupOpts = mkPluginSetupOption "indent-blankline" {
|
||||||
debounce = mkOption {
|
debounce = mkOption {
|
||||||
type = int;
|
type = int;
|
||||||
description = "Debounce time in milliseconds";
|
description = "Debounce time in milliseconds";
|
||||||
|
|
Loading…
Reference in a new issue