mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
ui/smartcolumn: change custom_colorcolumn
type to expected type string
This commit is contained in:
parent
7b719d0044
commit
2e99a21010
2 changed files with 9 additions and 9 deletions
|
@ -222,10 +222,10 @@ inputs: let
|
||||||
enable = true;
|
enable = true;
|
||||||
setupOpts.custom_colorcolumn = {
|
setupOpts.custom_colorcolumn = {
|
||||||
# this is a freeform module, it's `buftype = int;` for configuring column position
|
# this is a freeform module, it's `buftype = int;` for configuring column position
|
||||||
nix = 110;
|
nix = "110";
|
||||||
ruby = 120;
|
ruby = "120";
|
||||||
java = 130;
|
java = "130";
|
||||||
go = [90 130];
|
go = ["90" "130"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,15 +31,15 @@ in {
|
||||||
|
|
||||||
custom_colorcolumn = mkOption {
|
custom_colorcolumn = mkOption {
|
||||||
description = "The position at which smart column should be displayed for each individual buffer type";
|
description = "The position at which smart column should be displayed for each individual buffer type";
|
||||||
type = attrsOf (either int (listOf int));
|
type = attrsOf (either str (listOf str));
|
||||||
default = {};
|
default = {};
|
||||||
|
|
||||||
example = literalExpression ''
|
example = literalExpression ''
|
||||||
vim.ui.smartcolumn.setupOpts.custom_colorcolumn = {
|
vim.ui.smartcolumn.setupOpts.custom_colorcolumn = {
|
||||||
nix = 110;
|
nix = "110";
|
||||||
ruby = 120;
|
ruby = "120";
|
||||||
java = 130;
|
java = "130";
|
||||||
go = [90 130];
|
go = ["90" "130"];
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue