nvim: replace telescope fzf with zf
This commit is contained in:
parent
7d74252600
commit
b6e1585142
1 changed files with 18 additions and 17 deletions
|
@ -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"] = {},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue