mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-30 22:11:09 +00:00 
			
		
		
		
	feat(ui): make lazy icon configurable (#163)
* feat(ui): make lazy icon configurable * docs: add lazy icon config option
This commit is contained in:
		
					parent
					
						
							
								434b7d3edd
							
						
					
				
			
			
				commit
				
					
						8ea9d8b024
					
				
			
		
					 4 changed files with 4 additions and 1 deletions
				
			
		|  | @ -325,6 +325,7 @@ return { | |||
|       source = " ", | ||||
|       start = "", | ||||
|       task = "✔ ", | ||||
|       lazy = "鈴 ", | ||||
|     }, | ||||
|     throttle = 20, -- how frequently should the ui process render events | ||||
|     custom_keys = { | ||||
|  |  | |||
|  | @ -362,6 +362,7 @@ CONFIGURATION                                        *lazy.nvim-configuration* | |||
|           source = " ", | ||||
|           start = "", | ||||
|           task = " ", | ||||
| 	  lazy = " ", | ||||
|         }, | ||||
|         throttle = 20, -- how frequently should the ui process render events | ||||
|         custom_keys = { | ||||
|  |  | |||
|  | @ -48,6 +48,7 @@ M.defaults = { | |||
|       source = " ", | ||||
|       start = "", | ||||
|       task = "✔ ", | ||||
|       lazy = "鈴 ", | ||||
|     }, | ||||
|     throttle = 20, -- how frequently should the ui process render events | ||||
|     custom_keys = { | ||||
|  |  | |||
|  | @ -104,7 +104,7 @@ function M:title() | |||
|       local title = " " .. mode.name:sub(1, 1):upper() .. mode.name:sub(2) .. " (" .. mode.key .. ") " | ||||
|       if mode.name == "home" then | ||||
|         if self.view.state.mode == "home" then | ||||
|           title = " lazy.nvim  鈴 " | ||||
|           title = " lazy.nvim  " .. Config.options.ui.icons.lazy | ||||
|         else | ||||
|           title = " lazy.nvim (H) " | ||||
|         end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue