2024-05-27 16:35:03 +02:00
|
|
|
local telescope = require('telescope')
|
2024-05-30 17:05:02 +02:00
|
|
|
telescope.load_extension("yank_history")
|
2024-05-27 16:35:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
telescope.setup {
|
|
|
|
extensions = {
|
|
|
|
fzf = {
|
|
|
|
fuzzy = true, -- false will only do exact matching
|
|
|
|
override_generic_sorter = true, -- override the generic sorter
|
|
|
|
override_file_sorter = true, -- override the file sorter
|
2024-07-23 12:54:35 +02:00
|
|
|
case_mode = "respect_case", -- or "ignore_case" or "respect_case"
|
2024-05-27 16:35:03 +02:00
|
|
|
-- the default case_mode is "smart_case"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
pickers = {
|
|
|
|
find_files = {
|
2024-05-30 17:05:02 +02:00
|
|
|
hidden = true,
|
|
|
|
theme = "dropdown"
|
2024-06-13 14:45:08 +02:00
|
|
|
},
|
|
|
|
live_grep = {
|
|
|
|
additional_args = function(_)
|
2024-07-23 12:54:35 +02:00
|
|
|
return {
|
|
|
|
"--hidden"
|
|
|
|
}
|
2024-06-13 14:45:08 +02:00
|
|
|
end
|
2024-05-27 16:35:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|