tris203 / precognition.nvim

💭👀precognition.nvim - Precognition uses virtual text and gutter signs to show available motions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not play well with bkad/CamelCaseMotion

oalders opened this issue · comments

Thanks for your work! I tried it out today after seeing it in /r/neovim. My setup uses https://github.com/bkad/CamelCaseMotion and since that appears to redefine what a word is, the hints from precognition don't always align with what actually happens via w and b.

Below is a demonstration of successive use of b on a word.

Bildschirmfoto 2024-06-10 um 4 05 11 PM Bildschirmfoto 2024-06-10 um 4 05 15 PM Bildschirmfoto 2024-06-10 um 4 05 19 PM Bildschirmfoto 2024-06-10 um 4 05 24 PM

Not sure if this is something that could or should be addressed, but I figured I'd point it out. 😄

This is linked to #1

There is a plan to allow overriding of the motion calculations

I will close this issue, and we can continue to track in the other linked issue