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