mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	git/hunk-nvim: init
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
		
			
				
	
				Set up binary cache / cachix (default) (push) Waiting to run
				
			
		
			
				
	
				Set up binary cache / cachix (maximal) (push) Waiting to run
				
			
		
			
				
	
				Set up binary cache / cachix (nix) (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate flake (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Check formatting (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Check source tree for typos (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate documentation builds (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
				
			
		
			
				
	
				Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
				
			
		
			
				
	
				Build and deploy documentation / Check latest commit (push) Waiting to run
				
			
		
			
				
	
				Build and deploy documentation / publish (push) Blocked by required conditions
				
			
		
		
	
	
		
	
		
			Some checks are pending
		
		
	
	Set up binary cache / cachix (default) (push) Waiting to run
				
			Set up binary cache / cachix (maximal) (push) Waiting to run
				
			Set up binary cache / cachix (nix) (push) Waiting to run
				
			Treewide Checks / Validate flake (push) Waiting to run
				
			Treewide Checks / Check formatting (push) Waiting to run
				
			Treewide Checks / Check source tree for typos (push) Waiting to run
				
			Treewide Checks / Validate documentation builds (push) Waiting to run
				
			Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
				
			Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
				
			Build and deploy documentation / Check latest commit (push) Waiting to run
				
			Build and deploy documentation / publish (push) Blocked by required conditions
				
			Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a6964c7b5ff071d9ac1713a149ebd9c3abd0f
This commit is contained in:
		
					parent
					
						
							
								ad7d383547
							
						
					
				
			
			
				commit
				
					
						b89ed91405
					
				
			
		
					 6 changed files with 75 additions and 10 deletions
				
			
		|  | @ -36,6 +36,7 @@ | ||||||
| [yazi.nvim]: https://github.com/mikavilpas/yazi.nvim | [yazi.nvim]: https://github.com/mikavilpas/yazi.nvim | ||||||
| [snacks.nvim]: https://github.com/folke/snacks.nvim | [snacks.nvim]: https://github.com/folke/snacks.nvim | ||||||
| [oil.nvim]: https://github.com/stevearc/oil.nvim | [oil.nvim]: https://github.com/stevearc/oil.nvim | ||||||
|  | [hunk.nvim]: https://github.com/julienvincent/hunk.nvim | ||||||
| 
 | 
 | ||||||
| - Add [typst-preview.nvim] under | - Add [typst-preview.nvim] under | ||||||
|   `languages.typst.extensions.typst-preview-nvim`. |   `languages.typst.extensions.typst-preview-nvim`. | ||||||
|  | @ -104,6 +105,8 @@ | ||||||
|   relevant packages in a simple UI. |   relevant packages in a simple UI. | ||||||
|   - This deprecates `vim.useSystemClipboard` as well, see breaking changes |   - This deprecates `vim.useSystemClipboard` as well, see breaking changes | ||||||
|     section above for migration options. |     section above for migration options. | ||||||
|  | - Add [hunk.nvim], Neovim plugin & tool for splitting diffs in Neovim. Available | ||||||
|  |   as `vim.git.hunk-nvim` | ||||||
| 
 | 
 | ||||||
| [amadaluzia](https://github.com/amadaluzia): | [amadaluzia](https://github.com/amadaluzia): | ||||||
| 
 | 
 | ||||||
|  | @ -443,19 +446,21 @@ | ||||||
| [neogit]: https://github.com/NeogitOrg/neogit | [neogit]: https://github.com/NeogitOrg/neogit | ||||||
| 
 | 
 | ||||||
| - Add [solarized.nvim] theme with support for multiple variants | - Add [solarized.nvim] theme with support for multiple variants | ||||||
| - Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes. | - Add [smart-splits.nvim] for navigating between Neovim windows and terminal | ||||||
|   Available at `vim.utility.smart-splits`. |   multiplexer panes. Available at `vim.utility.smart-splits`. | ||||||
| - Restore vim-dirtytalk plugin and fix ordering with spellcheck in generated config. | - Restore vim-dirtytalk plugin and fix ordering with spellcheck in generated | ||||||
|  |   config. | ||||||
| - Fix lualine separator options | - Fix lualine separator options | ||||||
| - Add [neogit], an interactive and powerful Git interface for Neovim, inspired by Magit | - Add [neogit], an interactive and powerful Git interface for Neovim, inspired | ||||||
|  |   by Magit | ||||||
| - Allow deregistering which-key binds or groups by setting them to `null` | - Allow deregistering which-key binds or groups by setting them to `null` | ||||||
| 
 | 
 | ||||||
| [justDeeevin](https://github.com/justDeeevin): | [justDeeevin](https://github.com/justDeeevin): | ||||||
| 
 | 
 | ||||||
| [supermaven-nvim]: https://github.com/supermaven-inc/supermaven-nvim | [supermaven-nvim]: https://github.com/supermaven-inc/supermaven-nvim | ||||||
| 
 | 
 | ||||||
| - Add [supermaven-nvim] plugin in `vim.assistant.supermaven-nvim` with `enable` and | - Add [supermaven-nvim] plugin in `vim.assistant.supermaven-nvim` with `enable` | ||||||
|   `setupOpts` |   and `setupOpts` | ||||||
| 
 | 
 | ||||||
| [trueNAHO](https://github.com/trueNAHO): | [trueNAHO](https://github.com/trueNAHO): | ||||||
| 
 | 
 | ||||||
|  | @ -463,9 +468,10 @@ | ||||||
|   download size. |   download size. | ||||||
| 
 | 
 | ||||||
| - `flake-utils`'s `systems` inputs follows nvf's `systems` input to transitively | - `flake-utils`'s `systems` inputs follows nvf's `systems` input to transitively | ||||||
|   leverage the pattern introduced in commit [fc8206e7a61d ("flake: utilize |   leverage the pattern introduced in commit | ||||||
|   nix-systems for overridable flake systems")]( |   [fc8206e7a61d ("flake: utilize | ||||||
|   https://github.com/NotAShelf/nvf/commit/fc8206e7a61d7eb02006f9010e62ebdb3336d0d2). |   nix-systems for overridable flake systems")](https://github.com/NotAShelf/nvf/commit/fc8206e7a61d7eb02006f9010e62ebdb3336d0d2). | ||||||
| 
 | 
 | ||||||
| [soliprem](https://github.com/soliprem): | [soliprem](https://github.com/soliprem): | ||||||
|  | 
 | ||||||
| - fix broken `neorg` grammars | - fix broken `neorg` grammars | ||||||
|  |  | ||||||
|  | @ -3,6 +3,7 @@ | ||||||
| in { | in { | ||||||
|   imports = [ |   imports = [ | ||||||
|     ./gitsigns |     ./gitsigns | ||||||
|  |     ./hunk-nvim | ||||||
|     ./vim-fugitive |     ./vim-fugitive | ||||||
|     ./git-conflict |     ./git-conflict | ||||||
|     ./gitlinker-nvim |     ./gitlinker-nvim | ||||||
|  | @ -14,7 +15,9 @@ in { | ||||||
|       git integration suite. |       git integration suite. | ||||||
| 
 | 
 | ||||||
|       Enabling this option will enable the following plugins: |       Enabling this option will enable the following plugins: | ||||||
|  | 
 | ||||||
|       * gitsigns |       * gitsigns | ||||||
|  |       * hunk-nvim | ||||||
|       * vim-fugitive |       * vim-fugitive | ||||||
|       * git-conflict |       * git-conflict | ||||||
|       * gitlinker-nvim |       * gitlinker-nvim | ||||||
|  |  | ||||||
							
								
								
									
										21
									
								
								modules/plugins/git/hunk-nvim/config.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								modules/plugins/git/hunk-nvim/config.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | ||||||
|  | { | ||||||
|  |   config, | ||||||
|  |   lib, | ||||||
|  |   ... | ||||||
|  | }: let | ||||||
|  |   inherit (lib.modules) mkIf; | ||||||
|  | 
 | ||||||
|  |   cfg = config.vim.git.hunk-nvim; | ||||||
|  | in { | ||||||
|  |   config = mkIf cfg.enable { | ||||||
|  |     vim = { | ||||||
|  |       lazy.plugins = { | ||||||
|  |         "hunk-nvim" = { | ||||||
|  |           package = "hunk-nvim"; | ||||||
|  |           setupModule = "gitlinker"; | ||||||
|  |           inherit (cfg) setupOpts; | ||||||
|  |         }; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
							
								
								
									
										6
									
								
								modules/plugins/git/hunk-nvim/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								modules/plugins/git/hunk-nvim/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | ||||||
|  | { | ||||||
|  |   imports = [ | ||||||
|  |     ./hunk-nvim.nix | ||||||
|  |     ./config.nix | ||||||
|  |   ]; | ||||||
|  | } | ||||||
							
								
								
									
										13
									
								
								modules/plugins/git/hunk-nvim/hunk-nvim.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								modules/plugins/git/hunk-nvim/hunk-nvim.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | ||||||
|  | { | ||||||
|  |   config, | ||||||
|  |   lib, | ||||||
|  |   ... | ||||||
|  | }: let | ||||||
|  |   inherit (lib.options) mkEnableOption; | ||||||
|  |   inherit (lib.nvim.types) mkPluginSetupOption; | ||||||
|  | in { | ||||||
|  |   options.vim.git.hunk-nvim = { | ||||||
|  |     enable = mkEnableOption "tool for splitting diffs in Neovim [hunk-nvim]" // {default = config.vim.git.enable;}; | ||||||
|  |     setupOpts = mkPluginSetupOption "hunk-nvim" {}; | ||||||
|  |   }; | ||||||
|  | } | ||||||
|  | @ -692,6 +692,22 @@ | ||||||
|       "url": "https://github.com/phaazon/hop.nvim/archive/1a1eceafe54b5081eae4cb91c723abd1d450f34b.tar.gz", |       "url": "https://github.com/phaazon/hop.nvim/archive/1a1eceafe54b5081eae4cb91c723abd1d450f34b.tar.gz", | ||||||
|       "hash": "08h18cam2yr57qvfsnf1bra28vbl6013wlchnr5crb757xw8aysa" |       "hash": "08h18cam2yr57qvfsnf1bra28vbl6013wlchnr5crb757xw8aysa" | ||||||
|     }, |     }, | ||||||
|  |     "hunk-nvim": { | ||||||
|  |       "type": "GitRelease", | ||||||
|  |       "repository": { | ||||||
|  |         "type": "GitHub", | ||||||
|  |         "owner": "julienvincent", | ||||||
|  |         "repo": "hunk.nvim" | ||||||
|  |       }, | ||||||
|  |       "pre_releases": false, | ||||||
|  |       "version_upper_bound": null, | ||||||
|  |       "release_prefix": null, | ||||||
|  |       "submodules": false, | ||||||
|  |       "version": "v1.8.0", | ||||||
|  |       "revision": "1e0a4d719c780bb8b0690a54915601508ced321e", | ||||||
|  |       "url": "https://api.github.com/repos/julienvincent/hunk.nvim/tarball/v1.8.0", | ||||||
|  |       "hash": "036cwnswx36m048mvlwa8rr9baclf7lrgjlq065pb4w13c4drbmx" | ||||||
|  |     }, | ||||||
|     "hydra-nvim": { |     "hydra-nvim": { | ||||||
|       "type": "GitRelease", |       "type": "GitRelease", | ||||||
|       "repository": { |       "repository": { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue