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',
|
||||
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"] = {},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue