mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-30 18:47:52 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			584 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			584 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {lib, ...}: let
 | |
|   inherit (lib) mkRemovedOptionModule;
 | |
|   inherit (lib.options) mkEnableOption mkOption;
 | |
|   inherit (lib.types) enum;
 | |
| in {
 | |
|   imports = [
 | |
|     (mkRemovedOptionModule ["vim" "autopairs" "nvim-compe"] "nvim-compe is deprecated and no longer suported.")
 | |
|   ];
 | |
| 
 | |
|   options.vim = {
 | |
|     autopairs = {
 | |
|       enable = mkEnableOption "autopairs" // {default = false;};
 | |
| 
 | |
|       type = mkOption {
 | |
|         type = enum ["nvim-autopairs"];
 | |
|         default = "nvim-autopairs";
 | |
|         description = "Set the autopairs type. Options: nvim-autopairs [nvim-autopairs]";
 | |
|       };
 | |
|     };
 | |
|   };
 | |
| }
 |