2023-02-01 19:11:37 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2023-11-08 02:16:46 +00:00
|
|
|
}: let
|
2024-03-24 00:14:39 +00:00
|
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
|
|
inherit (lib.types) int bool;
|
2023-11-08 02:16:46 +00:00
|
|
|
in {
|
2023-02-01 19:11:37 +00:00
|
|
|
options.vim.tidal = {
|
2023-06-05 20:10:25 +00:00
|
|
|
enable = mkEnableOption "tidalcycles tools and plugins";
|
2023-02-01 19:11:37 +00:00
|
|
|
|
|
|
|
flash = mkOption {
|
|
|
|
description = ''When sending a paragraph or a single line, vim-tidal will "flash" the selection for some milliseconds'';
|
2024-03-24 00:14:39 +00:00
|
|
|
type = int;
|
2023-02-01 19:11:37 +00:00
|
|
|
default = 150;
|
|
|
|
};
|
|
|
|
|
|
|
|
openSC = mkOption {
|
|
|
|
description = "Automatically run the supercollider CLI, sclang, alongside the Tidal GHCI terminal.";
|
2024-03-24 00:14:39 +00:00
|
|
|
type = bool;
|
2023-02-01 19:11:37 +00:00
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|