1
0
Fork 0

nvim: replace telescope fzf with zf

This commit is contained in:
Vladimír Dudr 2024-01-20 23:21:27 +01:00
parent 7d74252600
commit b6e1585142

View file

@ -2,11 +2,12 @@ local M = {
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
dependencies = { dependencies = {
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
{ 'natecraddock/telescope-zf-native.nvim',
'nvim-telescope/telescope-fzf-native.nvim', -- {
build = -- 'nvim-telescope/telescope-fzf-native.nvim',
'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build', -- build =
}, -- 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build',
-- },
}, },
cmd = { 'Telescope' }, cmd = { 'Telescope' },
keys = { keys = {
@ -31,7 +32,7 @@ function M.config()
local opts = { local opts = {
defaults = { defaults = {
layout_config = { prompt_position = 'top' }, layout_config = { prompt_position = 'top' },
sorting_strategy = "ascending", sorting_strategy = 'ascending',
preview = { preview = {
hide_on_startup = true, hide_on_startup = true,
}, },
@ -71,7 +72,7 @@ function M.config()
}, },
}, },
extensions = { extensions = {
fzf = {}, ["zf-native"] = {},
}, },
} }