mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 22:41:05 +00:00 
			
		
		
		
	fix(meta): rebuild dirty right after disable. See #1889
This commit is contained in:
		
					parent
					
						
							
								1c9ba37045
							
						
					
				
			
			
				commit
				
					
						d51cf69783
					
				
			
		
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -314,6 +314,7 @@ function M:fix_disabled() | |||
|           else | ||||
|             self:disable(plugin) | ||||
|           end | ||||
|           self:rebuild() | ||||
|         end | ||||
|       end | ||||
|     end | ||||
|  | @ -321,10 +322,8 @@ function M:fix_disabled() | |||
|   -- disable top-level plugins first, since they may have non-top-level frags | ||||
|   -- that disable other plugins | ||||
|   check(true) | ||||
|   self:rebuild() | ||||
|   -- then disable non-top-level plugins | ||||
|   check(false) | ||||
|   self:rebuild() | ||||
|   return changes | ||||
| end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue