mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-25 17:06:11 +00:00 
			
		
		
		
	telescope: workaround nixpkgs extensions loading early
force a reload when telescope is loaded to workaround #535
This commit is contained in:
		
					parent
					
						
							
								aa7b55fa49
							
						
					
				
			
			
				commit
				
					
						752915e639
					
				
			
		
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -22,6 +22,12 @@ in { | |||
|         package = "telescope"; | ||||
|         setupModule = "telescope"; | ||||
|         inherit (cfg) setupOpts; | ||||
| 
 | ||||
|         # HACK: workaround until https://github.com/NotAShelf/nvf/issues/535 gets resolved | ||||
|         before = '' | ||||
|           vim.g.loaded_telescope = nil | ||||
|         ''; | ||||
| 
 | ||||
|         after = '' | ||||
|           local telescope = require("telescope") | ||||
|           ${optionalString config.vim.ui.noice.enable "telescope.load_extension('noice')"} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ching Pei Yang
				Ching Pei Yang