mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 03:25:58 +01:00
27 lines
571 B
Nix
27 lines
571 B
Nix
|
{
|
||
|
pkgs,
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
with lib;
|
||
|
with builtins; let
|
||
|
cfg = config.vim.tidal;
|
||
|
in {
|
||
|
options.vim.tidal = {
|
||
|
enable = mkEnableOption "tidal tools and plugins";
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
}
|