mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-16 11:00:23 +00:00
undefined global mark_config
I believe it was meant to swap the values in the same config
This commit is contained in:
parent
6935f70d78
commit
c2c02e5efe
@ -48,7 +48,7 @@ M.valid_index = valid_index
|
|||||||
function swap(a_idx, b_idx)
|
function swap(a_idx, b_idx)
|
||||||
local config = harpoon.get_mark_config()
|
local config = harpoon.get_mark_config()
|
||||||
local tmp = config.marks[a_idx]
|
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
|
config.marks[b_idx] = tmp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user