mirror of
https://github.com/don-philipe/dotfiles.git
synced 2025-11-08 14:47:03 +01:00
Find dotfiles when they are not gitignored
This commit is contained in:
@@ -17,11 +17,16 @@ table.insert(vimgrep_arguments, "--glob")
|
|||||||
table.insert(vimgrep_arguments, "!**/.git/*")
|
table.insert(vimgrep_arguments, "!**/.git/*")
|
||||||
|
|
||||||
require('telescope').setup({
|
require('telescope').setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
vimgrep_arguments = vimgrep_arguments,
|
vimgrep_arguments = vimgrep_arguments,
|
||||||
layout_strategy = 'vertical',
|
layout_strategy = 'vertical',
|
||||||
layout_config = {
|
layout_config = {
|
||||||
vertical = { width = 0.95 }
|
vertical = { width = 0.95 }
|
||||||
|
},
|
||||||
|
},
|
||||||
|
pickers = {
|
||||||
|
find_files = {
|
||||||
|
find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user