From 6cd5930a307ac2c45a545df5d68451e0d86f01a0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 11 Jan 2022 00:58:56 +0000 Subject: [PATCH] feat(nvim): auto reload Telescope mappings --- roles/neovim/files/lua/opdavies/telescope/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/neovim/files/lua/opdavies/telescope/init.lua b/roles/neovim/files/lua/opdavies/telescope/init.lua index 3576b01..5d32529 100644 --- a/roles/neovim/files/lua/opdavies/telescope/init.lua +++ b/roles/neovim/files/lua/opdavies/telescope/init.lua @@ -59,5 +59,5 @@ map("n", "fl", 'lua require("telescope.builtin").live_grep()', map("n", "fr", 'lua require("telescope.builtin").registers()', options) -- Custom -map("n", "en", 'lua require("opdavies.telescope.mappings").edit_neovim()', options) -map("n", "ff", 'lua require("opdavies.telescope.mappings").fd()', options) +map("n", "en", 'lua R "opdavies.telescope.mappings".edit_neovim()', options) +map("n", "ff", 'lua R "opdavies.telescope.mappings".fd()', options)