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.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'';
|
|
|
|
type = types.int;
|
|
|
|
default = 150;
|
|
|
|
};
|
|
|
|
|
|
|
|
openSC = mkOption {
|
|
|
|
description = "Automatically run the supercollider CLI, sclang, alongside the Tidal GHCI terminal.";
|
|
|
|
type = types.bool;
|
|
|
|
default = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|