-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Ensuring spacing between candidates and their annotations #382
Comments
Hi, by definition the |
Is this documented anywhere? There's no such claim in the manual |
Emacs is not specified well if you look at the fine details. Nevertheless it is a de factor definition. |
Emacs cruft once again... |
Not really. It seems actually reasonable to not add a space. Think for example about affixation-functions which want to add icons just right in front of the candidates. |
You'd still want the gap between the the candidate and the annotation, but this is moot anyway |
No, not in every case, like for example icons. |
I also imagine that in some special cases one would want something like |
Hi. So I PR'd a fix to Yasnippet Capf (elken/yasnippet-capf#16) addressing the lack of spacing between candidates and their annotations
I did so by concatenating two spaces to the annotations:
which is similar to what Company Yasnippet does when
company-tooltip-align-annotations
is nil:@elken is suggesting that Corfu should do this instead so I'm wondering what you think about that and specifically whether you would add that.
I'm thinking that it's not a good idea for Corfu to add spacing since other capfs like Company Yasnippet and Pcmpl Args already manage that:
So I wanted you to hear what you think.
The text was updated successfully, but these errors were encountered: