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

*merlin-types* buffer pops up due to merlin-eldoc #30

Open
cpitclaudel opened this issue Oct 2, 2019 · 3 comments
Open

*merlin-types* buffer pops up due to merlin-eldoc #30

cpitclaudel opened this issue Oct 2, 2019 · 3 comments

Comments

@cpitclaudel
Copy link

Hi there,

Thanks for this neat package. I've noticed that when I put the point on e.g. a module, the large type signature sometimes (but not always) gets displayed in a side *merlin-types* buffer. This is fine when pressing C-c C-t explicitly, but wuite disruptive when prompted by eldoc. Am I doing anything wrong? is there a function I should put a breakpoint on to debug this?

Here's my config:

(setq-default
 merlin-eldoc-type-verbosity 'min
 merlin-eldoc-max-lines 1
 merlin-eldoc-occurrences nil)
@Khady
Copy link
Owner

Khady commented Oct 3, 2019

I don't manage to reproduce this behavior. The function which does display the *merlin-types* buffer is merlin--type-display. And it is only called at one place in merlin-eldoc, when there is an active region. But even like this I don't manage to get the buffer to appear. Could you give a way to reproduce?

@cpitclaudel
Copy link
Author

cpitclaudel commented Oct 3, 2019

Thanks, I'll look at that function. I have trouble coming up with a reliable repro.

@cpitclaudel
Copy link
Author

(To clarify, this is only a small annoyance compared to the awesomeness of this eldoc integration 👍)

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

No branches or pull requests

2 participants