mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-14 05:55:59 +01:00
23 lines
364 B
Nix
23 lines
364 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
|
|
cfg = config.vim.tidal;
|
|
in {
|
|
config = mkIf (cfg.enable) {
|
|
vim.startPlugins = [
|
|
# From tidalcycles flake
|
|
pkgs.vimPlugins.vim-tidal
|
|
];
|
|
|
|
vim.globals = {
|
|
"tidal_target" = "terminal";
|
|
"tidal_flash_duration" = 150;
|
|
"tidal_sc_enable" = cfg.openSC;
|
|
};
|
|
};
|
|
}
|