nixvim
nixvim copied to clipboard
[PLUGIN REQUEST] harpoon2
| Field | Description |
|---|---|
| Plugin | harpoon2 |
| Homepage | https://github.com/ThePrimeagen/harpoon/tree/harpoon2 |
| Nixpkgs | https://search.nixos.org/packages?channel=unstable&show=vimPlugins.harpoon2&from=0&size=50&sort=relevance&type=packages&query=harpoon2 |
Extra Information
harpoon2 introduces breaking changes to harpoon (1)
i am pretty sure this has been discussed and decided that we're waiting for harpoon2 to become the default before switching.
Indeed. Harpoon 2 has not yet been officially released. Hence, in the meantime, we will sick on harpoon 1. I have already started to adapt the nixvim module on my side.
I will leave this issue open to track this migration.
i am pretty sure this has been discussed and decided that we're waiting for harpoon2 to become the default before switching.
Sorry mate! I checked the issues for anything harpoon2 related, but couldn't find any open or closed ones, that's why I opened this one.
I will leave this issue open to track this migration.
Great! Thanks Gaetan.
Sorry mate! I checked the issues for anything harpoon2 related, but couldn't find any open or closed ones, that's why I opened this one.
No problem :) Maybe it was on the matrix or somewhere else, I don't remember.
As per discussion on matrix, I think we should add harpoon2 alongside harpoon.
- Rename
plugins.harpoontoplugins.harpoon1 - Add
pluigins.harpoon2 - Add a "transition alias" pointing to either
plugins.harpoon1orplugins.harpoon2 - Print a warning when the alias is used, such as:
"
plugins.harpoonis an alias forplugins.harpoon1. After 24.11plugins.harpoon2will be moved toplugins.harpoon. Useplugins.harpoon1orplugins.harpoon2to silence this warning"
One thing I don't like about this approach, is it implies we will always have three plugins.harpoon* modules (one of which being an alias), though idk if that's a real issue or just a small ugliness?