37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
return {
 | 
						|
    "nvim-telescope/telescope.nvim",
 | 
						|
    tag = "0.1.8",
 | 
						|
    dependencies = { "nvim-lua/plenary.nvim" },
 | 
						|
    opts = {
 | 
						|
        defaults = {
 | 
						|
            layout_strategy = "horizontal",
 | 
						|
            layout_config = {
 | 
						|
                horizontal = {
 | 
						|
                    width = 0.98,
 | 
						|
                    height = 0.98,
 | 
						|
                    preview_width = 0.45,
 | 
						|
                },
 | 
						|
            },
 | 
						|
            path_display = { "truncate", },
 | 
						|
        },
 | 
						|
        pickers = {
 | 
						|
            find_files = {
 | 
						|
                find_command = {
 | 
						|
                    "rg", "--hidden", "--files", -- "--no-ignore",
 | 
						|
                    "-g", "!**/.git/**",
 | 
						|
                    "-g", "!**/build/**",
 | 
						|
                    "-g", "!**/node_modules/**",
 | 
						|
                },
 | 
						|
            },
 | 
						|
            live_grep = {
 | 
						|
                additional_args = {
 | 
						|
                    "--hidden", "--no-binary", -- "--no-ignore",
 | 
						|
                    "-g", "!**/.git/**",
 | 
						|
                    "-g", "!**/build/**",
 | 
						|
                    "-g", "!**/node_modules/**",
 | 
						|
                }
 | 
						|
            },
 | 
						|
        },
 | 
						|
    },
 | 
						|
}
 |