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;
|
2023-04-02 18:58:57 +02:00
|
|
|
description = "Enable 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;
|
2023-04-02 18:58:57 +02:00
|
|
|
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;
|
2023-04-02 18:58:57 +02:00
|
|
|
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;
|
2023-04-02 18:58:57 +02:00
|
|
|
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;
|
2023-04-02 18:58:57 +02:00
|
|
|
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-04-15 15:35:34 +02:00
|
|
|
cellularAutomaton = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
description = "Enable cellular automaton [cellular-automaton]";
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
mappings = {
|
|
|
|
makeItRain = mkMappingOption "Make it rain [cellular-automaton]" "<leader>fml";
|
|
|
|
};
|
2023-02-05 14:14:25 +01:00
|
|
|
};
|
|
|
|
|
2023-02-28 11:00:38 +01:00
|
|
|
fidget-nvim = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 18:58:57 +02:00
|
|
|
description = "Enable nvim LSP UI element [fidget-nvim]";
|
2023-02-28 11:00:38 +01:00
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
align = {
|
|
|
|
bottom = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 18:58:57 +02:00
|
|
|
description = "Align to bottom";
|
2023-02-28 11:00:38 +01:00
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
right = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 18:58:57 +02:00
|
|
|
description = "Align to right";
|
2023-02-28 11:00:38 +01:00
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-02-01 20:11:37 +01:00
|
|
|
cursorWordline = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 18:58:57 +02:00
|
|
|
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;
|
2023-04-02 18:58:57 +02:00
|
|
|
description = "Time in milliseconds for cursorline to appear";
|
2023-02-01 20:11:37 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
indentBlankline = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
2023-04-02 18:58:57 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|