mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	Merge pull request #536 from horriblename/telescope-extensions-workaround
telescope: workaround nixpkgs extensions breaking :Telescope
This commit is contained in:
		
				commit
				
					
						2c54ecd306
					
				
			
		
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -22,6 +22,12 @@ in { | ||||||
|         package = "telescope"; |         package = "telescope"; | ||||||
|         setupModule = "telescope"; |         setupModule = "telescope"; | ||||||
|         inherit (cfg) setupOpts; |         inherit (cfg) setupOpts; | ||||||
|  | 
 | ||||||
|  |         # HACK: workaround until https://github.com/NotAShelf/nvf/issues/535 gets resolved | ||||||
|  |         before = '' | ||||||
|  |           vim.g.loaded_telescope = nil | ||||||
|  |         ''; | ||||||
|  | 
 | ||||||
|         after = '' |         after = '' | ||||||
|           local telescope = require("telescope") |           local telescope = require("telescope") | ||||||
|           ${optionalString config.vim.ui.noice.enable "telescope.load_extension('noice')"} |           ${optionalString config.vim.ui.noice.enable "telescope.load_extension('noice')"} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 GitHub
					GitHub