Skip to content

Commit

Permalink
fix(esupports.hop): Fix incorrect condition
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh08 committed Nov 1, 2024
1 parent 4e20d16 commit c4a6a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/esupports/hop/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ module.public = {
end

if located_link_information.buffer ~= vim.api.nvim_get_current_buf() then
if open_mode ~= "tab-drop" then
if open_mode == "tab-drop" then
vim.cmd("tab drop " .. vim.api.nvim_buf_get_name(located_link_information.buffer))
return
end
Expand Down

0 comments on commit c4a6a83

Please sign in to comment.