-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Hook for company-show-location #951
Labels
Comments
Perhaps this will work for you?
Alternatively, you can use advice (defun my/recenter-other-window (&rest _args)
(recenter-other-window '(4)))
(advice-add 'company-show-location :after #'my/recenter-other-window) |
Yeah, it's more-or-less what I ended up doing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have
company-show-location
binded so that I can show the definitions while completing ((define-key company-active-map (kbd "M-.") #'company-show-location)
). However, I'd like to recenter the buffer where the definition is being shown. Is there a hook for this already?The text was updated successfully, but these errors were encountered: