undefined global mark_config

I believe it was meant to swap the values in the same config
This commit is contained in:
Raigo Jerva 2021-03-04 19:27:42 +02:00 committed by GitHub
parent 6935f70d78
commit c2c02e5efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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