From 54b1090984b022648a31f21018bff3bb6c6017ad Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 12 Sep 2025 00:51:05 +0200 Subject: [PATCH] nvim: Switch back to fzf for fuzzy finding Since I am now using fzf for a bunch of other things as well it made sense to switch back in smart open as well. --- nvim/dot-config/nvim/lazy-lock.json | 2 +- nvim/dot-config/nvim/lua/plugins/telescope.lua | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nvim/dot-config/nvim/lazy-lock.json b/nvim/dot-config/nvim/lazy-lock.json index 1f93077..05d5c47 100644 --- a/nvim/dot-config/nvim/lazy-lock.json +++ b/nvim/dot-config/nvim/lazy-lock.json @@ -39,7 +39,7 @@ "smart-splits.nvim": { "branch": "master", "commit": "1ac316e6ea719843fd80716d1105613c98632af1" }, "snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" }, "sqlite.lua": { "branch": "master", "commit": "50092d60feb242602d7578398c6eb53b4a8ffe7b" }, - "telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, + "telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" }, "todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" }, diff --git a/nvim/dot-config/nvim/lua/plugins/telescope.lua b/nvim/dot-config/nvim/lua/plugins/telescope.lua index ecdafbf..2d95c44 100644 --- a/nvim/dot-config/nvim/lua/plugins/telescope.lua +++ b/nvim/dot-config/nvim/lua/plugins/telescope.lua @@ -37,6 +37,9 @@ return { ["ui-select"] = { require("telescope.themes").get_dropdown(), }, + smart_open = { + match_algorithm = "fzf", + }, }, } end, @@ -114,12 +117,13 @@ return { end, }, { - "nvim-telescope/telescope-fzy-native.nvim", + "nvim-telescope/telescope-fzf-native.nvim", + build = "make", dependencies = { "nvim-telescope/telescope.nvim", }, config = function() - require("telescope").load_extension("fzy_native") + require("telescope").load_extension("fzf") end, }, { @@ -131,7 +135,7 @@ return { dependencies = { "kkharji/sqlite.lua", "nvim-telescope/telescope.nvim", - "nvim-telescope/telescope-fzy-native.nvim", + "nvim-telescope/telescope-fzf-native.nvim", { "ellisonleao/gruvbox.nvim", opts = function(_, opts)