mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +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 neo-tree integration for Bufferline. | ||||||
| - Add more applicable filetypes to illuminate denylist. | - Add more applicable filetypes to illuminate denylist. | ||||||
| - Disable mini.indentscope for applicable filetypes. | - Disable mini.indentscope for applicable filetypes. | ||||||
|  | - Fix fzf-lua having a hard dependency on fzf. | ||||||
| 
 | 
 | ||||||
| [tebuevd](https://github.com/tebuevd): | [tebuevd](https://github.com/tebuevd): | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,15 +1,21 @@ | ||||||
| { | { | ||||||
|   config, |   config, | ||||||
|   lib, |   lib, | ||||||
|  |   pkgs, | ||||||
|   ... |   ... | ||||||
| }: let | }: let | ||||||
|   inherit (lib.types) nullOr enum; |   inherit (lib.types) enum package; | ||||||
|   inherit (lib.options) mkEnableOption mkOption; |   inherit (lib.options) mkEnableOption mkOption; | ||||||
|   inherit (lib.nvim.types) mkPluginSetupOption borderType; |   inherit (lib.nvim.types) mkPluginSetupOption borderType; | ||||||
| in { | in { | ||||||
|   options.vim.fzf-lua = { |   options.vim.fzf-lua = { | ||||||
|     enable = mkEnableOption "fzf-lua"; |     enable = mkEnableOption "fzf-lua"; | ||||||
|     setupOpts = mkPluginSetupOption "fzf-lua" { |     setupOpts = mkPluginSetupOption "fzf-lua" { | ||||||
|  |       fzf_bin = mkOption { | ||||||
|  |         type = package; | ||||||
|  |         default = "${lib.getExe pkgs.fzf}"; | ||||||
|  |         description = "fzf package to use"; | ||||||
|  |       }; | ||||||
|       winopts.border = mkOption { |       winopts.border = mkOption { | ||||||
|         type = borderType; |         type = borderType; | ||||||
|         default = config.vim.ui.borders.globalStyle; |         default = config.vim.ui.borders.globalStyle; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Venkatesan Ravi
				Venkatesan Ravi