mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	nvim-cmp: allow passing null to format
Not adding special cases to where it's used shouldn't break anything.
This commit is contained in:
		
					parent
					
						
							
								947cf90878
							
						
					
				
			
			
				commit
				
					
						e39d469da9
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -72,7 +72,7 @@ in { | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     format = mkOption { |     format = mkOption { | ||||||
|       type = luaInline; |       type = nullOr luaInline; | ||||||
|       default = mkLuaInline '' |       default = mkLuaInline '' | ||||||
|         function(entry, vim_item) |         function(entry, vim_item) | ||||||
|           vim_item.menu = (${toLuaObject cfg.sources})[entry.source.name] |           vim_item.menu = (${toLuaObject cfg.sources})[entry.source.name] | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 diniamo
				diniamo