2023-02-01 19:11:37 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
2023-03-31 02:20:35 +00:00
|
|
|
with builtins; {
|
2023-02-01 19:11:37 +00:00
|
|
|
options.vim.visuals = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable visual enhancements";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = false;
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nvimWebDevicons.enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable dev icons. required for certain plugins [nvim-web-devicons]";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = false;
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
2023-02-03 19:53:38 +00:00
|
|
|
scrollBar.enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable scrollbar [scrollbar.nvim]";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = false;
|
2023-02-03 19:53:38 +00:00
|
|
|
};
|
|
|
|
|
2023-02-03 21:20:20 +00:00
|
|
|
smoothScroll.enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable smooth scrolling [cinnamon-nvim]";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = false;
|
2023-02-03 21:20:20 +00:00
|
|
|
};
|
|
|
|
|
2023-02-05 13:14:25 +00:00
|
|
|
cellularAutomaton.enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable cellular automaton [cellular-automaton]";
|
2023-02-05 13:14:25 +00:00
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
|
2023-02-28 10:00:38 +00:00
|
|
|
fidget-nvim = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable nvim LSP UI element [fidget-nvim]";
|
2023-02-28 10:00:38 +00:00
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
align = {
|
|
|
|
bottom = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Align to bottom";
|
2023-02-28 10:00:38 +00:00
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
right = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Align to right";
|
2023-02-28 10:00:38 +00:00
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-02-01 19:11:37 +00:00
|
|
|
cursorWordline = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable word and delayed line highlight [nvim-cursorline]";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = false;
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
lineTimeout = mkOption {
|
|
|
|
type = types.int;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Time in milliseconds for cursorline to appear";
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
indentBlankline = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 16:58:57 +00:00
|
|
|
description = "Enable indentation guides [indent-blankline]";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = false;
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
listChar = mkOption {
|
|
|
|
type = types.str;
|
|
|
|
description = "Character for indentation line";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = "│";
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fillChar = mkOption {
|
|
|
|
type = types.str;
|
|
|
|
description = "Character to fill indents";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = "⋅";
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
eolChar = mkOption {
|
|
|
|
type = types.str;
|
|
|
|
description = "Character at end of line";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = "↴";
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
showCurrContext = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
description = "Highlight current context from treesitter";
|
2023-02-28 07:13:56 +00:00
|
|
|
default = true;
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|