mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	modules/extra: init deprecations module; warn for elixir & vim-tidal
This commit is contained in:
		
					parent
					
						
							
								7481423bed
							
						
					
				
			
			
				commit
				
					
						bf090172d2
					
				
			
		
					 3 changed files with 25 additions and 5 deletions
				
			
		
							
								
								
									
										16
									
								
								modules/extra/deprecations.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								modules/extra/deprecations.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| {lib, ...}: let | ||||
|   inherit (lib.modules) mkRemovedOptionModule; | ||||
| in { | ||||
|   imports = [ | ||||
|     # 2024-06-06 | ||||
|     (mkRemovedOptionModule ["vim" "languages" "elixir"] '' | ||||
|       Elixir language support has been removed as of 2024-06-06 as it was long unmaintained. If | ||||
|       you dependend on this language support, please consider contributing to its maintenance. | ||||
|     '') | ||||
| 
 | ||||
|     (mkRemovedOptionModule ["vim" "tidal"] '' | ||||
|       Tidalcycles language support has been removed as of 2024-06-06 as it was long unmaintained. If | ||||
|       you depended on this functionality, please open an issue. | ||||
|     '') | ||||
|   ]; | ||||
| } | ||||
|  | @ -53,7 +53,13 @@ | |||
|     "warnings" | ||||
|   ]; | ||||
| 
 | ||||
|   allModules = concatLists [neovim plugins wrapper]; | ||||
|   # Extra modules, such as deprecation warnings | ||||
|   # or renames in one place. | ||||
|   extra = map (p: ./extra + "/${p}") [ | ||||
|     "deprecations.nix" | ||||
|   ]; | ||||
| 
 | ||||
|   allModules = concatLists [neovim plugins wrapper extra]; | ||||
| 
 | ||||
|   pkgsModule = {config, ...}: { | ||||
|     config = { | ||||
|  |  | |||
|  | @ -2,10 +2,8 @@ | |||
|   inherit (lib.nvim.languages) mkEnable; | ||||
| in { | ||||
|   imports = [ | ||||
|     ./bash | ||||
|     ./dart | ||||
|     ./elixir | ||||
| 
 | ||||
|     ./bash.nix | ||||
|     ./dart.nix | ||||
|     ./clang.nix | ||||
|     ./css.nix | ||||
|     ./go.nix | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue