diff options
author | Andrew Fridley <[email protected]> | 2021-05-03 15:39:58 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-03 16:39:58 -0400 |
commit | 76e1912b999997e80536bc7d4085ab2725a64d0d (patch) | |
tree | a8552c26514a998ce4c5e7393a561883eb1c38ea /lua | |
parent | a69bf73fd2fe28760b632a2e7344e4659de54910 (diff) |
Implement fzy native to speed up telescope (#330)
* impliment fzy-native
* match pattern
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lv-telescope/init.lua | 6 | ||||
-rw-r--r-- | lua/plugins.lua | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lua/lv-telescope/init.lua b/lua/lv-telescope/init.lua index e619fc65..89ce4db3 100644 --- a/lua/lv-telescope/init.lua +++ b/lua/lv-telescope/init.lua @@ -61,5 +61,11 @@ require('telescope').setup { -- ["<C-i>"] = my_cool_custom_action, } } + }, + extensions = { + fzy_native = { + override_generic_sorter = false, + override_file_sorter = true, + } } } diff --git a/lua/plugins.lua b/lua/plugins.lua index 0bf74511..4ff4b65e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -44,6 +44,7 @@ return require("packer").startup( use {"nvim-lua/popup.nvim", opt = true} use {"nvim-lua/plenary.nvim", opt = true} use {"nvim-telescope/telescope.nvim", opt = true} + use {"nvim-telescope/telescope-fzy-native.nvim", opt = true} -- Debugging use {"mfussenegger/nvim-dap", opt = true} |