mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	utility/undotree: moved undotree to utility object
This commit is contained in:
		
					parent
					
						
							
								0a1dda51d0
							
						
					
				
			
			
				commit
				
					
						cec4a94197
					
				
			
		
					 3 changed files with 9 additions and 6 deletions
				
			
		|  | @ -43,7 +43,7 @@ isMaximal: { | ||||||
|     # This section does not include a comprehensive list of available language modules. |     # This section does not include a comprehensive list of available language modules. | ||||||
|     # To list all available language module options, please visit the nvf manual. |     # To list all available language module options, please visit the nvf manual. | ||||||
|     languages = { |     languages = { | ||||||
|       enableFormat = true; # |       enableFormat = true; | ||||||
|       enableTreesitter = true; |       enableTreesitter = true; | ||||||
|       enableExtraDiagnostics = true; |       enableExtraDiagnostics = true; | ||||||
| 
 | 
 | ||||||
|  | @ -183,7 +183,7 @@ isMaximal: { | ||||||
|     projects = { |     projects = { | ||||||
|       project-nvim.enable = isMaximal; |       project-nvim.enable = isMaximal; | ||||||
|     }; |     }; | ||||||
|     undotree.enable = isMaximal; | 
 | ||||||
|     utility = { |     utility = { | ||||||
|       ccc.enable = false; |       ccc.enable = false; | ||||||
|       vim-wakatime.enable = false; |       vim-wakatime.enable = false; | ||||||
|  | @ -194,7 +194,7 @@ isMaximal: { | ||||||
|       leetcode-nvim.enable = isMaximal; |       leetcode-nvim.enable = isMaximal; | ||||||
|       multicursors.enable = isMaximal; |       multicursors.enable = isMaximal; | ||||||
|       smart-splits.enable = isMaximal; |       smart-splits.enable = isMaximal; | ||||||
| 
 |       undotree.enable = isMaximal; | ||||||
|       motion = { |       motion = { | ||||||
|         hop.enable = true; |         hop.enable = true; | ||||||
|         leap.enable = true; |         leap.enable = true; | ||||||
|  | @ -238,7 +238,10 @@ isMaximal: { | ||||||
|           nix = "110"; |           nix = "110"; | ||||||
|           ruby = "120"; |           ruby = "120"; | ||||||
|           java = "130"; |           java = "130"; | ||||||
|           go = ["90" "130"]; |           go = [ | ||||||
|  |             "90" | ||||||
|  |             "130" | ||||||
|  |           ]; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|       fastaction.enable = true; |       fastaction.enable = true; | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| { | { | ||||||
|   vim.lazy.plugins.undotree = { |   vim.lazy.plugins.utility.undotree = { | ||||||
|     package = "undotree"; |     package = "undotree"; | ||||||
|     cmd = [ |     cmd = [ | ||||||
|       "UndotreeToggle" |       "UndotreeToggle" | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| {lib, ...}: let | {lib, ...}: let | ||||||
|   inherit (lib.options) mkEnableOption; |   inherit (lib.options) mkEnableOption; | ||||||
| in { | in { | ||||||
|   options.vim.undotree = { |   options.vim.utility.undotree = { | ||||||
|     enable = mkEnableOption "undo history visualizer for Vim [undotree]"; |     enable = mkEnableOption "undo history visualizer for Vim [undotree]"; | ||||||
|   }; |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Abhi
				Abhi