mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	fidget: remove ineffectful option
whether you set clear_on_detach to true or false you still get the default behaviour
This commit is contained in:
		
					parent
					
						
							
								89bdd80e20
							
						
					
				
			
			
				commit
				
					
						c220da2af9
					
				
			
		
					 1 changed files with 0 additions and 15 deletions
				
			
		|  | @ -42,21 +42,6 @@ in { | |||
|           type = bool; | ||||
|           default = false; | ||||
|         }; | ||||
|         clear_on_detach = mkOption { | ||||
|           description = "Clear notification group when LSP server detaches"; | ||||
|           type = bool; | ||||
|           default = true; | ||||
|           apply = clear: | ||||
|             if clear | ||||
|             then | ||||
|               mkLuaInline '' | ||||
|                 function(client_id) | ||||
|                   local client = vim.lsp.get_client_by_id(client_id) | ||||
|                   return client and client.name or nil | ||||
|                 end | ||||
|               '' | ||||
|             else null; | ||||
|         }; | ||||
|         notification_group = mkOption { | ||||
|           description = "How to get a progress message's notification group key"; | ||||
|           type = str; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ching Pei Yang
				Ching Pei Yang