mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-13 17:40:25 +00:00
Merge pull request #80 from Ind1eMonk3y/master
fix(ui): Sets buffer as 'listed' when navigating
This commit is contained in:
commit
f34f3b49f3
@ -139,6 +139,7 @@ M.nav_file = function(id)
|
||||
local set_row = not vim.api.nvim_buf_is_loaded(buf_id)
|
||||
|
||||
vim.api.nvim_set_current_buf(buf_id)
|
||||
vim.api.nvim_buf_set_option(buf_id, "buflisted", true)
|
||||
if set_row and mark.row and mark.col then
|
||||
vim.cmd(string.format(":call cursor(%d, %d)", mark.row, mark.col))
|
||||
log.debug(string.format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user