From 8f15fb404a4b42de680ddd023e82e5f37f89b71d Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 19 Jun 2025 21:09:23 +0200 Subject: [PATCH] nvim: Fix path completing on insert mode return When hitting return in insert mode we would enter a path completion. With this change the completion is moved from (i.e. return) to . --- nvim/.config/nvim/lua/plugins/pickers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins/pickers.lua b/nvim/.config/nvim/lua/plugins/pickers.lua index 120ac26..ade47f5 100644 --- a/nvim/.config/nvim/lua/plugins/pickers.lua +++ b/nvim/.config/nvim/lua/plugins/pickers.lua @@ -207,8 +207,8 @@ return { -- file/item pickers and managers end, desc = "path complete", }, - { -- TODO: Does it work reliably in various circumstances? - "", + { + "", function() require("fzf-lua").complete_path() end,