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