Updated theme switcher and telescope
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -10,12 +10,20 @@ return {
|
||||
config = function()
|
||||
local telescope = require("telescope")
|
||||
|
||||
local command = { "fd", "-I", "-H", "--type", "file" }
|
||||
local ignored = { "node_modules", ".git" }
|
||||
|
||||
for i, v in ipairs(ignored) do
|
||||
table.insert(command, "--exclude")
|
||||
table.insert(command, v)
|
||||
end
|
||||
|
||||
telescope.load_extension("project")
|
||||
|
||||
telescope.setup({
|
||||
pickers = {
|
||||
find_files = {
|
||||
find_command = { "fd", "-I", "--type", "file" },
|
||||
find_command = command,
|
||||
},
|
||||
},
|
||||
extensions = {
|
||||
|
||||
Reference in New Issue
Block a user