mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	languages/tidal: remove
This commit is contained in:
		
					parent
					
						
							
								d06ff3d7db
							
						
					
				
			
			
				commit
				
					
						1847b9f1bf
					
				
			
		
					 12 changed files with 63 additions and 296 deletions
				
			
		|  | @ -5,7 +5,6 @@ in { | |||
|     ./bash | ||||
|     ./dart | ||||
|     ./elixir | ||||
|     ./tidal | ||||
| 
 | ||||
|     ./clang.nix | ||||
|     ./css.nix | ||||
|  |  | |||
|  | @ -1,23 +0,0 @@ | |||
| { | ||||
|   pkgs, | ||||
|   config, | ||||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.modules) 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; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  | @ -1,6 +0,0 @@ | |||
| {...}: { | ||||
|   imports = [ | ||||
|     ./tidal.nix | ||||
|     ./config.nix | ||||
|   ]; | ||||
| } | ||||
|  | @ -1,24 +0,0 @@ | |||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.types) int bool; | ||||
| in { | ||||
|   options.vim.tidal = { | ||||
|     enable = mkEnableOption "tidalcycles tools and plugins"; | ||||
| 
 | ||||
|     flash = mkOption { | ||||
|       description = ''When sending a paragraph or a single line, vim-tidal will "flash" the selection for some milliseconds''; | ||||
|       type = int; | ||||
|       default = 150; | ||||
|     }; | ||||
| 
 | ||||
|     openSC = mkOption { | ||||
|       description = "Automatically run the supercollider CLI, sclang, alongside the Tidal GHCI terminal."; | ||||
|       type = bool; | ||||
|       default = true; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue