add fzf telescope extension to improve sorting performance (#2371)

* add fzf telescope extension to improve sorting performance

* add fzf config tbl to the default tlsc config
This commit is contained in:
Zohir Benghalem 2023-09-09 02:13:28 +01:00 committed by GitHub
parent de85977316
commit 617dca4dc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -49,7 +49,15 @@ local options = {
},
},
extensions_list = { "themes", "terms" },
extensions_list = { "themes", "terms", "fzf" },
extensions = {
fzf = {
fuzzy = true,
override_generic_sorter = true,
override_file_sorter = true,
case_mode = "smart_case",
},
},
}
return options

View file

@ -229,7 +229,7 @@ local default_plugins = {
{
"nvim-telescope/telescope.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
dependencies = { "nvim-treesitter/nvim-treesitter", { "nvim-telescope/telescope-fzf-native.nvim", build = "make" } },
cmd = "Telescope",
init = function()
require("core.utils").load_mappings "telescope"