Update telescope to include hidden directories (i.e. .github) except .git
This commit is contained in:
parent
566fe1d486
commit
de648782bb
1 changed files with 33 additions and 20 deletions
|
|
@ -1,22 +1,35 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope.nvim', tag = '0.1.8',
|
"nvim-telescope/telescope.nvim",
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
tag = "0.1.8",
|
||||||
},
|
dependencies = { "nvim-lua/plenary.nvim" },
|
||||||
{
|
},
|
||||||
'nvim-telescope/telescope-ui-select.nvim',
|
{
|
||||||
config = function()
|
"nvim-telescope/telescope-ui-select.nvim",
|
||||||
require("telescope").setup ({
|
config = function()
|
||||||
extensions = {
|
require("telescope").setup({
|
||||||
["ui-select"] = {
|
defaults = {
|
||||||
require("telescope.themes").get_dropdown {
|
vimgrep_arguments = {
|
||||||
-- even more opts
|
"rg",
|
||||||
}
|
"--color=never",
|
||||||
}
|
"--no-heading",
|
||||||
}
|
"--with-filename",
|
||||||
})
|
"--line-number",
|
||||||
require("telescope").load_extension("ui-select")
|
"--column",
|
||||||
end
|
"--smart-case",
|
||||||
}
|
"--hidden",
|
||||||
|
"--glob=!.git/*",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
extensions = {
|
||||||
|
["ui-select"] = {
|
||||||
|
require("telescope.themes").get_dropdown({
|
||||||
|
-- even more opts
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
require("telescope").load_extension("ui-select")
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue