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 return options

View File

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