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.tidal = {
|
2023-04-02 18:58:57 +02:00
|
|
|
enable = mkEnableOption "Enable tidalcycles tools and plugins";
|
2023-02-01 20:11:37 +01:00
|
|
|
|
|
|
|
flash = mkOption {
|
|
|
|
description = ''When sending a paragraph or a single line, vim-tidal will "flash" the selection for some milliseconds'';
|
|
|
|
type = types.int;
|
|
|
|
default = 150;
|
|
|
|
};
|
|
|
|
|
|
|
|
openSC = mkOption {
|
|
|
|
description = "Automatically run the supercollider CLI, sclang, alongside the Tidal GHCI terminal.";
|
|
|
|
type = types.bool;
|
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|