You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an autocommand for going to the last location when opening a buffer
a lua file with functions that trigger treesitter-context
One could argue if the erroneous behavior is related to Harpoon,or to the other plugins needed to reproduce. The behavior does not occur when using grapple.nvim,or a plain global mark, in the exact same scenario.
statuscolumn_removed.mp4
Using harpoon
grapple_replay.mp4
Replay using grapple.nvim
The problem
Seemingly at random moments, when selecting a harpooned file, the complete statuscolumn disappears.
Reproduce
Required:
treesitter-context
One could argue if the erroneous behavior is related to Harpoon,or to the other plugins needed to reproduce. The behavior does not occur when using
grapple.nvim
,or a plainglobal mark
, in the exact same scenario.Init.lua
Repro setup
Create repro
Remove repro
Replay using grapple.nvim
repro init.lua
Harpoon
Harpoon add
Neovim
Neovim
without arguments:repro
Harpoon select 1
(using the keymapping)NOTE: The behavior does not occur when replacing
step 6
with the following:Harpoon ui
init.lua
andenter
The solution
Harpoon config.lua
Line
vim.fn.bufload(bufnr)
can be removed, because the buffer is loadedwhen calling
vim.api.nvim_set_current_buf(bufnr)
I assume that calling
vim.fn.bufload(bufnr)
createsa window-of-opportunity for the behavior seen in this issue.
See this PR
The text was updated successfully, but these errors were encountered: