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
Hey! I'd like to be able to provide custom hooks on a per-request basis. An example of this would be to create a keymap to only view references within the current buffer, for which I'd exclude any items whose bufnr != current_bufnr. I was not able to find a way to make this work currently.
What I had in mind was adding a 2nd parameter to .open(method, opts), like so:
Hey! I'd like to be able to provide custom hooks on a per-request basis. An example of this would be to create a keymap to only view references within the current buffer, for which I'd exclude any items whose
bufnr != current_bufnr
. I was not able to find a way to make this work currently.What I had in mind was adding a 2nd parameter to
.open(method, opts)
, like so:I'd be happy to contribute with a PR if you think the above approach would make sense.
The text was updated successfully, but these errors were encountered: