Closed t6ui closed 3 months ago
Introduction of an Error Fallback Hook
I don't think this is within the scope of Citre, as users could wrap Citre commands to create their own command rather easily.
However, we may want to modify Citre commands, so when they are not called interactively, they should return a fail status rather than throwing an error. This will make it easier for users to wrap Citre commands.
Exposing the Searched Identifier
Citre's symbol-at-point function is defined in the tags backend. Although it's largely customized for the tags backend, it is also used by global backend and another backend I'm currently working on, so the dependency is a bit messy here.
There are plans to extract at least part of it to form a basis for all backends. When that's done, we could expose a user API from it.
@AmaiKinono Understood, thank you.
I have been working on a custom function named citre-jump-or-grep to improve my workflow. While implementing this function, I identified a couple of potential enhancements that could benefit other users as well:
Best regards!