From f2ba23e601bea76b3991e35177d5e5cb25898e3e Mon Sep 17 00:00:00 2001 From: Nybkox Date: Mon, 29 Jan 2024 16:45:19 +0100 Subject: [PATCH] Update lua/lazyvim/plugins/extras/editor/harpoon2.lua Co-authored-by: Iordanis Petkakis --- lua/lazyvim/plugins/extras/editor/harpoon2.lua | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lua/lazyvim/plugins/extras/editor/harpoon2.lua b/lua/lazyvim/plugins/extras/editor/harpoon2.lua index 5011cdd5..9ef046de 100644 --- a/lua/lazyvim/plugins/extras/editor/harpoon2.lua +++ b/lua/lazyvim/plugins/extras/editor/harpoon2.lua @@ -1,14 +1,11 @@ return { "ThePrimeagen/harpoon", branch = "harpoon2", - config = function() - local harpoon = require("harpoon") - harpoon:setup({ - menu = { - width = vim.api.nvim_win_get_width(0) - 4, - }, - }) - end, +opts = { + menu = { + width = vim.api.nvim_win_get_width(0) - 4, + }, +}, keys = { { "H",