Skip to content
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

emacs: add a shortcut for ac-merlin-locate but with merlin-locate-preference flipped #1878

Open
kit-ty-kate opened this issue Dec 18, 2024 · 1 comment

Comments

@kit-ty-kate
Copy link
Member

By default C-c C-l (ac-merlin-locate) follows the merlin-locate-preference setting (defaults to the implementation file). However i feel like it would be handy to have another shortcut but where this preference is flipped: defaulting to the interface file.

@voodoos
Copy link
Collaborator

voodoos commented Dec 19, 2024

We had this discussion recently with @xvw who is working on a new, eglot-based, mode for Emacs (which does not yet support the various kind of locate) and we decided to provide multiple commands instead of a configuration option. I agree it feels like a better way to select the target of locate since it is a switch that is often needed.

We probably won't have the time to update the current Emacs mode ourselves, but will be happy to review a PR adding such a command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants