From c2c02e5efec9d30e271123b940ce13913c6061d2 Mon Sep 17 00:00:00 2001 From: Raigo Jerva Date: Thu, 4 Mar 2021 19:27:42 +0200 Subject: [PATCH] undefined global mark_config I believe it was meant to swap the values in the same config --- lua/harpoon/mark.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/harpoon/mark.lua b/lua/harpoon/mark.lua index 025f062..21d38b2 100644 --- a/lua/harpoon/mark.lua +++ b/lua/harpoon/mark.lua @@ -48,7 +48,7 @@ M.valid_index = valid_index function swap(a_idx, b_idx) local config = harpoon.get_mark_config() local tmp = config.marks[a_idx] - config.marks[a_idx] = mark_config.marks[b_idx] + config.marks[a_idx] = config.marks[b_idx] config.marks[b_idx] = tmp end