mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-26 09:20:08 +00:00 
			
		
		
		
	utility/fzf-lua: remove hard dependency on fzf
This commit is contained in:
		
					parent
					
						
							
								939c7e98b4
							
						
					
				
			
			
				commit
				
					
						95c0cc3bb0
					
				
			
		
					 2 changed files with 8 additions and 1 deletions
				
			
		|  | @ -300,6 +300,7 @@ | |||
| - Add neo-tree integration for Bufferline. | ||||
| - Add more applicable filetypes to illuminate denylist. | ||||
| - Disable mini.indentscope for applicable filetypes. | ||||
| - Fix fzf-lua having a hard dependency on fzf. | ||||
| 
 | ||||
| [tebuevd](https://github.com/tebuevd): | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,15 +1,21 @@ | |||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib.types) nullOr enum; | ||||
|   inherit (lib.types) enum package; | ||||
|   inherit (lib.options) mkEnableOption mkOption; | ||||
|   inherit (lib.nvim.types) mkPluginSetupOption borderType; | ||||
| in { | ||||
|   options.vim.fzf-lua = { | ||||
|     enable = mkEnableOption "fzf-lua"; | ||||
|     setupOpts = mkPluginSetupOption "fzf-lua" { | ||||
|       fzf_bin = mkOption { | ||||
|         type = package; | ||||
|         default = "${lib.getExe pkgs.fzf}"; | ||||
|         description = "fzf package to use"; | ||||
|       }; | ||||
|       winopts.border = mkOption { | ||||
|         type = borderType; | ||||
|         default = config.vim.ui.borders.globalStyle; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Venkatesan Ravi
				Venkatesan Ravi