mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 01:50:27 +00:00
create mark with buf_name instead of empty string
This commit is contained in:
parent
abb717f174
commit
b0437610ab
@ -115,7 +115,7 @@ M.add_file = function(file_name_or_buf_id)
|
||||
for idx = 1, M.get_length() do
|
||||
local filename = M.get_marked_file_name(idx)
|
||||
if filename == "" then
|
||||
harpoon.get_mark_config().marks[idx] = create_mark(filename)
|
||||
harpoon.get_mark_config().marks[idx] = create_mark(buf_name)
|
||||
|
||||
M.remove_empty_tail()
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user