changed telescope colors and am trying out zf instead of fzf

This commit is contained in:
foxora 2026-03-15 19:33:43 +00:00
parent 65995c2245
commit 98a52ebe74
3 changed files with 36 additions and 16 deletions

View file

@ -1,6 +1,7 @@
return {
{
"telescope.nvim",
enabled = nixCats("telescope.enable") or false,
cmd = { "Telescope" },
keys = {
{
@ -62,7 +63,14 @@ return {
},
load = function(name)
vim.cmd.packadd(name)
vim.cmd.packadd("telescope-fzf-native.nvim")
if nixCats("telescope.fzf") then
vim.cmd.packadd("telescope-fzf-native.nvim")
end
if nixCats("telescope.zf") then
vim.cmd.packadd("telescope-zf-native.nvim")
end
end,
after = function(plugin)
local telescope = require("telescope")
@ -72,11 +80,6 @@ return {
defaults = {
border = true,
borderchars = { "", "", "", "", "", "", "", "" },
-- borderchars = {
-- prompt = { "─", " ", " ", " ", "─", "─", " ", " " },
-- results = { " " },
-- preview = { "─", "│", "─", "│", "╭", "╮", "╯", "╰" },
-- },
mappings = {
i = {
["<C-k>"] = actions.move_selection_previous, -- move to prev result
@ -87,7 +90,13 @@ return {
},
})
pcall(telescope.load_extension, "fzf")
if nixCats("telescope.fzf") then
telescope.load_extension("fzf")
end
if nixCats("telescope.zf") then
telescope.load_extension("zf-native")
end
end,
},
}