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:
parent
de85977316
commit
617dca4dc1
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue