Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[The harpoon plugin](https://github.com/ThePrimeagen/harpoon/tree/harpoon2) allows you to pin files in a picker, which persists across Neovim restarts. #771

Open
wd60622 opened this issue Dec 31, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@wd60622
Copy link
Collaborator

wd60622 commented Dec 31, 2024

The harpoon plugin allows you to pin files in a picker, which persists across Neovim restarts.

I've noticed that after a restart, opening octo buffers through harpoon - or even just with :edit octo://... some syntax highlighting is missing, e.g., the diff bar and the assignees aren't coloured.

If I open the Octo picker with the partially coloured PR open and close it again, everything is coloured correctly.
So, I assume opening Octo - not just loading it via Lazy - triggers some additional functionality that I'm not calling when opening an Octo PR without going through Octo itself.

Does anyone have experience using octo with harpoon or have some pointers how I could address this?

Originally posted by @paulhdk in #649

@wd60622
Copy link
Collaborator Author

wd60622 commented Dec 31, 2024

Don't think this is limited to harpoon.

using :e <octo-buffer-uri> from fresh start has the same issue

For instance, octo://pwntester/octo.nvim/issue/771

@wd60622 wd60622 added the bug Something isn't working label Dec 31, 2024
@paulhdk
Copy link

paulhdk commented Jan 2, 2025

@wd60622 in #649:

I experience this as well. I am thinking the highlight groups arent initialized or something.
Have you played around with it more and discovered anything?

I haven't. But I want to give it another go when I have more time. This could make a nice first contribution from my side, I hope!

@wd60622
Copy link
Collaborator Author

wd60622 commented Jan 2, 2025

It'd be a great contribution, indeed!
Well toy around with it a bit. If you do have any information, comment it here in this thread. And it will get solved eventually 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants